On this page
apply_filters_deprecated( 'default_contextual_help', string $old_help_default )
This hook has been deprecated. Use get_current_screen() ->add_help_tab() or get_current_screen() ->remove_help_tab() instead.
Filters the default legacy contextual help text.
Parameters
$old_help_defaultstring-
Default contextual help text.
Source
File: wp-admin/includes/class-wp-screen.php. View all references
$default_help = apply_filters_deprecated(
'default_contextual_help',
array( '' ),
'3.3.0',
'get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab()'
);
Related
Used By
| Used By | Description |
|---|---|
| WP_Screen::render_screen_meta() wp-admin/includes/class-wp-screen.php | Renders the screen’s help section. |
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Use get_current_screen() ->add_help_tab() or get_current_screen() ->remove_help_tab() instead. |
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_contextual_help