learndash_admin_page_title_should_display

apply_filters( 'learndash_admin_page_title_should_display',  array $flag )

Filters whether the admin settings page title should be displayed or not.


Description #


Parameters #

$flag

(array) Whether to display page title or not.


Source #

File: includes/settings/class-ld-settings-pages.php


Examples #

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

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