Browse: Home / Hooks /

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 #

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

 <?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;
	}
);
 

Changelog #

Changelog
Version Description
2.5.8 Introduced.