LD_REST_Quiz_Statistics_Controller_V2::get_user_quiz_details()
Method: Get user’s quiz details from usermeta.
@package: LearnDash / REST / V2
Source Files: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php
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: Register API routes.
Method: If before date and/or after date are passed, add conditions in where clause.
Method: Set the current request object in property.
Method: Return the route information in form of an array.
Method: Perform operations after the callback is executed.
Method: Check if the current endpoint is quiz statistics endpoint.
Method: Retrieve list of quiz statistics.
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.
Class: Class LearnDash REST API Quiz Statistics Controller.