LD_QuizPro::wp_pro_quiz_completed( $statistic_ref_id )
This function runs when a quiz is completed, and does the action ‘wp_pro_quiz_completed_quiz’
Contents
Description #
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |
Related #
Uses #
Uses | Description |
---|---|
includes/quiz/ld-quiz-pro.php: learndash_quiz_debug_log_message () | |
includes/ld-misc-functions.php: learndash_get_setting () |
Gets the LearnDash setting for a post. |
includes/ld-users.php: learndash_quiz_completed |
Fires after the quiz is marked as complete. |
includes/quiz/ld-quiz-pro.php: learndash_quiz_submitted |
Fires after the quiz is submitted |
includes/quiz/ld-quiz-pro.php: learndash_quiz_completed_result_settings |
Filters settings of the completed quiz results. |
includes/quiz/ld-quiz-pro.php: LD_QuizPro::quiz_has_graded_question () |
Does the list of questions for this quiz have a graded question in it Dataset used is not the quizdata saved to user meta, but follows the Question Model of WpProQuiz |
themes/legacy/templates/quiz/partials/show_quiz_result_box.php: show_quiz_continue_buttom_on_fail |
See snippet https://bitbucket.org/snippets/learndash/nMk9a |
includes/lib/wp-pro-quiz/lib/model/WpProQuiz_Model_QuizMapper.php: WpProQuiz_Model_QuizMapper::__construct () | |
includes/lib/wp-pro-quiz/lib/model/WpProQuiz_Model_QuestionMapper.php: WpProQuiz_Model_QuestionMapper::__construct () | |
includes/course/ld-course-functions.php: learndash_get_course_id () |
Gets the course ID for a resource. |
includes/course/ld-course-navigation.php: learndash_get_lesson_quiz_list () |
Gets the quiz list output for a lesson. |
includes/course/ld-course-navigation.php: learndash_get_global_quiz_list () |
Gets the quiz list for a resource. |
includes/course/ld-course-progress.php: learndash_process_mark_complete () |
Updates the user meta with completion status for any resource. |
includes/course/ld-course-progress.php: learndash_is_quiz_notcomplete () |
Checks whether a quiz is not completed for a user. |