Deprecated Deprecated

This function has been deprecated. Use WP_Screen::add_help_tab() instead.

Summery Summery

Add contextual help text for a page.

Syntax Syntax

add_contextual_help( string $screen, string $help )

Description Description

Creates an ‘Overview’ help tab.

Parameters Parameters


(string) (Required) The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.


(string) (Required) The content of an 'Overview' help tab.

Source Source

File: wp-admin/includes/deprecated.php

function add_contextual_help( $screen, $help ) {
	_deprecated_function( __FUNCTION__, '3.3.0', 'get_current_screen()->add_help_tab()' );

	if ( is_string( $screen ) )
		$screen = convert_to_screen( $screen );

	WP_Screen::add_old_compat_help( $screen, $help );


Changelog Changelog

Version Description
3.3.0 Use WP_Screen::add_help_tab()
2.7.0 Introduced.

See also See also


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.