W3cubDocs

/WordPress

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

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

Filters the legacy contextual help text.

Parameters

$old_help

(string) Help text that appears on the screen.

$screen_id

(string) Screen ID.

$this

(WP_Screen) Current WP_Screen instance.

Source

File: wp-admin/includes/class-wp-screen.php

View on Trac

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