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

contextual_help WordPress Hook

The contextual_help hook enables you to add help text to the administration screens for your plugin or theme. The help text will be displayed in the Help tab on the right-hand side of the screen.

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 on Trac



Top ↑

Changelog

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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.