learndash_show_quiz_builder

apply_filters( 'learndash_show_quiz_builder',  boolean $show_course_builder )

Filters whether to show quiz builder metabox or not.


Description #


Parameters #

$show_course_builder

(boolean) Whether to show course builder or not.


Source #

File: includes/admin/classes-posts-edits/class-learndash-admin-quiz-edit.php


Examples #

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

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

Changelog #

Changelog
Version Description
2.5.0 Introduced.