Browse: Home / Hooks /


apply_filters( 'learndash_quiz_default_viewPofileStatistics',  boolean $view_profile_statistics )

Filters default value of whether to view profile statistics for a quiz or not.

Description #

Parameters #


(boolean) Whether to view quiz profile statistics or not.

Source #

File: includes/lib/wp-pro-quiz/lib/model/WpProQuiz_Model_Quiz.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_quiz_default_viewPofileStatistics filter.
	function( $view_profile_statistics ) {
		// May add any custom logic using $view_profile_statistics.

		// Always return $view_profile_statistics.
		return $view_profile_statistics;