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'
Return Return
(integer)
Source Source
File: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |