learndash_settings_header_panel

apply_filters( 'learndash_settings_header_panel',  boolean $setting_header_panel )

Filters whether to show admin settings header panel or not.


Description #


Parameters #

$setting_header_panel

(boolean) Whether to show admin header panel or not.


Source #

File: includes/admin/class-learndash-admin-menus-tabs.php


Examples #

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

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