wp_pro_quiz_completed_quiz_{$resultInPercent}_percent

do_action( "wp_pro_quiz_completed_quiz_{$resultInPercent}_percent" )

Fires after the pro quiz is completed with certain percentage.


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 #

 <?php
/**
 * Example usage for wp_pro_quiz_completed_quiz_{$resultInPercent}_percent action.
 */
add_action(
	'wp_pro_quiz_completed_quiz_78_percent',
	function() {

		echo '<div>Custom content or markup</div>';
	}
);