apply_filters( 'learndash_admin_page_title_should_display', bool $flag )
Filters whether the admin settings page title should be displayed or not.
Contents
Description #
Parameters #
- $flag
-
(bool) Whether to display page title or not. Default false.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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;
}
);