LD_REST_Essays_Controller_V2::get_public_item_schema()
Method: Gets public schema.
@package: LearnDash / REST / V2
Source Files: includes/rest-api/v2/class-ld-rest-essays-controller.php
Method: Gets public schema.
Method: Fetch the stat refs records for current request.
Method: Get the REST URL setting.
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: Find the statistics record in memory.
Method: If quiz id is passed explicitly via request, filter the results.
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.