contextual_help_list filter-hookWP 2.7.0

Deprecated from version 3.3.0. It is no longer supported and can be removed in future releases. See {@see get_current_screen()->add_help_tab()} or {@see get_current_screen()->remove_help_tab()}.

Filters the legacy contextual help list.


add_filter( 'contextual_help_list', 'wp_kama_contextual_help_list_filter', 10, 4 );

 * Function for `contextual_help_list` filter-hook.
 * @param array     $old_compat_help                         Old contextual help.
 * @param WP_Screen $screen                                  Current WP_Screen instance.
 * @param           $string                                  
 * @param           $get_current_screen()->remove_help_tab() 
 * @return array
function wp_kama_contextual_help_list_filter( $old_compat_help, $screen, $string, $get_current_screen()->remove_help_tab() ){

	// filter...
	return $old_compat_help;
Old contextual help.
Current WP_Screen instance.


Since 2.7.0 Introduced.
Deprecated since 3.3.0 Use {@see get_current_screen()->add_help_tab()} or
{@see get_current_screen()->remove_help_tab()} instead.

Where the hook is called

wp-admin/includes/class-wp-screen.php 802-807
self::$_old_compat_help = apply_filters_deprecated(
	array( self::$_old_compat_help, $this ),
	'get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab()'

Where the hook is used in WordPress

Usage not found.