Warning: This hook has been deprecated. Use get_current_screen() ->add_help_tab() or get_current_screen() ->remove_help_tab() instead.

apply_filters_deprecated( 'contextual_help', string $old_help, string $screen_id, WP_Screen $screen )

Filters the legacy contextual help text.


Parameters

$old_help string
Help text that appears on the screen.
$screen_id string
Screen ID.
$screen WP_Screen
Current WP_Screen instance.

Top ↑

Source

File: wp-admin/includes/class-wp-screen.php. View all references

$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()'
);


Top ↑

Changelog

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.

Top ↑

User Contributed Notes

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