contextual_help_list filter-hook . WP 2.7.0
Deprecated in 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()}
.
Deprecated: 3.3.0 Use {@see get_current_screen()->add_help_tab()} or
{@see get_current_screen()->remove_help_tab()} instead.
Filters the legacy contextual help list.
Usage
add_filter( 'contextual_help_list', 'filter_function_name_6765', 10, 4 ); function filter_function_name_6765( $old_compat_help, $this, $string, $get_current_screen()->remove_help_tab() ){ // filter... return $old_compat_help; }
- $old_compat_help(array)
- Old contextual help.
- $this(WP_Screen)
- Current WP_Screen instance.
- $string
- -
- $get_current_screen()->remove_help_tab()
- -
Changelog
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 799-804
self::$_old_compat_help = apply_filters_deprecated( 'contextual_help_list', array( self::$_old_compat_help, $this ), '3.3.0', 'get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab()' );