LD_REST_Quiz_Statistics_Controller_V2::can_access_stats()
Method: Permission callback for quiz-statistics endpoint.
@package: LearnDash / REST / V2
Source Files: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php
Method: Permission callback for quiz-statistics endpoint.
Method: Constructor.
Method: Permission callback for quiz-statistics endpoint.
Method: No description found
Method: Add the embed links to quiz statistic response item.
Method: No description found
Method: Add the embed links to quiz statistic question response item.
Method: No description found
Method: Join query for fetching statistics for which quiz_setting is enabled.
Method: No description found
Method: Filter the where clause of the query to fetch statistics refs.
Method: No description found
Method: Filter the where clause of the query to fetch statistics refs based on user IDs.
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.