LD_REST_Quiz_Statistics_Controller_V2::users_for_stats()
Method: User IDs for fetching statistics.
@package: LearnDash / REST / V2
Source Files: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php
Method: User IDs for fetching statistics.
Method: Get correct/incorrect count for a particular statistics_ref_id.
Method: Prepare the single statistics object for API response.
Method: Get user’s quiz details from usermeta.
Method: Get quiz id for current statistics.
Method: Build the answer type object and returns it.
Method: Get WpProQuiz_Model_Statistic object from list of a particular stat.
Method: Reset current state of an object and store current state in a global variable.
Method: Restore the previously stored state of an object from global variable.
Method: Retrieves the query params for the posts collection.
Method: Retrieves the query params for the posts collection.
Method: Get the REST URL setting.
Method: Retrieves the Stats schema, conforming to JSON Schema.
Method: Retrieves the Stats schema, conforming to JSON Schema.
Method: Fetches expected parameters from request and sets the properties based on their values; else default will be assigned.
Method: Gets public schema.
Method: Retrieve a single item from statistics based on ID.
Filter Hook: Add necessary filters for statistics query.
Method: Retrieve list of questions for a particular stat ref ID.
Filter Hook: Filters the response object for each question.