do_action( "wp_pro_quiz_completed_quiz_{$resultInPercent}_percent" )
Fires after the pro quiz is completed with certain percentage.
Contents
Description #
The dynamic portion of the hook $resultInPercent
refers to quiz result in percentage.
Source #
File: includes/lib/wp-pro-quiz/lib/controller/WpProQuiz_Controller_QuizCompleted.php
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for wp_pro_quiz_completed_quiz_{$resultInPercent}_percent action. */ add_action( 'wp_pro_quiz_completed_quiz_78_percent', function() { // Add your custom code here } );