Browse: Home / Hooks /

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 #

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

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

Changelog #

Changelog
Version Description
3.0.0 Introduced.