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

In this article

This hook has been deprecated. Use {@see get_current_screen()->add_help_tab()} or {@see get_current_screen()->remove_help_tab()} instead.

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

VersionDescription
3.3.0Use get_current_screen()->add_help_tab() or get_current_screen()->remove_help_tab() instead.
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.