learndash_show_profile_quizzes

apply_filters( 'learndash_show_profile_quizzes',  boolean $show_quizzes )

Filters Whether to show profiles quizzes.


Description #


Parameters #

$show_quizzes

(boolean) Whether to show profile quizzes.


Source #

File: themes/ld30/templates/shortcodes/profile/course-row.php


Examples #

 <?php
/**
 * Example usage for learndash_show_profile_quizzes filter.
 */
add_filter(
	'learndash_show_profile_quizzes',
	function( $show_quizzes ) {
		// May add any custom logic using $show_quizzes.

		// Always return $show_quizzes.
		return $show_quizzes;
	}
);