learndash_show_course_builder

apply_filters( 'learndash_show_course_builder',  boolean $show_course_builder )

Filters Whether to show course 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-course-edit.php


Examples #

 <?php
/**
 * Example usage for learndash_show_course_builder filter.
 */
add_filter(
	'learndash_show_course_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.