W3cubDocs

/WordPress

apply_filters_deprecated( ‘default_contextual_help’, string $old_help_default )

Filters the default legacy contextual help text.

Parameters

$old_help_defaultstring
Default contextual help text.

Source

$default_help = apply_filters_deprecated(
	'default_contextual_help',
	array( '' ),
	'3.3.0',
	'get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab()'
);

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–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_contextual_help