Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LD_REST_Quiz_Statistics_Controller_V2::get_count( array $stats, string $type = 'getCorrectCount' )

Get correct/incorrect count for a partiular statistics_ref_id.


Description Description


Parameters Parameters

$stats

(Required) Stats for particular statistic ref.

$type

(Optional) Correct or incorrect count.

Default value: 'getCorrectCount'


Top ↑

Return Return

(integer)


Top ↑

Source Source

File: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.