SFWD_CPT_Instance::template_redirect_access()
Method: Show course completion/quiz completion Action callback from ‘template_redirect’ (wp core action)
@package: LearnDash / CPT
Source Files: includes/class-ld-cpt-instance.php
Method: Show course completion/quiz completion Action callback from ‘template_redirect’ (wp core action)
Method: Amend $wp_query based on what content user is viewing
Function: Enqueues styles for front-end.
Function: Dequeues scripts.
Filter Hook: Filters LearnDash resources load priority.
Method: Sets up properties for CPT to be used in plugins
Method: Get Archive content
Method: Generate output for courses, lessons, topics, quizzes Filter callback for ‘the_content’ (wp core filter)
Filter Hook: Filter to override previous step completed.
Filter Hook: Filter content to be return inside div
Class: Extends functionality of SWFD_CPT instance
Filter Hook: Filters settings of the completed quiz results.
Method: Returns the Quiz ID when submitting the Pro Quiz ID
Method: Returns an array of quizzes in the string format of “$quiz_id – $quiz_name”
Method: Echoes the HTML with inline javascript that contains the JSON representation of the certificate details and continue link details
Method: Returns the certificate link appended to input HTML content if the Post ID is set, else it only returns the input HTML content
Method: Returns the HTML of the add or edit page for the current quiz. If advanced quizzes are disabled, it returns an empty string.
Method: Routes to the WpProQuiz_Controller_Quiz controller to output the add or edit page for quizzes if not auto saving, post id is set, and the current user has permissions to add or edit quizzes. If there is an available template to load, WordPress redirects to the proper URL.
Method: Returns a MD5 checksum on a concatenated string comprised of user id, question id, and pos
Method: Returns an array of MD5 Checksums on a concatenated string comprised of user id, question id, and i, where the array size is count and i is incremented from 0 for each array element