W3cubDocs

/WordPress

apply_filters_deprecated( ‘contextual_help’, string $old_help, string $screen_id, WP_Screen $screen )

Filters the legacy contextual help text.

Parameters

$old_helpstring
Help text that appears on the screen.
$screen_idstring
Screen ID.
$screenWP_Screen
Current WP_Screen instance.

Source

$old_help = apply_filters_deprecated(
	'contextual_help',
	array( $old_help, $this->id, $this ),
	'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.7.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/contextual_help