LD_REST_Quiz_Statistics_Controller_V2::get_count( array $stats, string $type = 'getCorrectCount' )
Get correct/incorrect count for a particular statistics_ref_id.
Description #
Parameters #
- $stats
-
(array) (Required) Stats for particular statistic ref.
- $type
-
(string) (Optional) Correct or incorrect count.
Default value: 'getCorrectCount'
Return #
(integer)
Source #
File: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php
Changelog #
Version | Description |
---|---|
3.3.0 | Introduced. |