add_contextual_help() – Add contextual help text for a page.

You appear to be a bot. Output may be restricted

Description

Add contextual help text for a page.

Creates an 'Overview' help tab.

Usage

add_contextual_help( $screen, $help );

Parameters

$screen
( string ) required – The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.
$help
( string ) required – The content of an 'Overview' help tab.

Returns

void

Source

File name: wordpress/wp-admin/includes/deprecated.php
Lines:

1 to 8 of 8
function add_contextual_help( $screen, $help ) {
  _deprecated_function( add_contextual_help, '3.3.0', 'get_current_screen()->add_help_tab()' );

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

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

 View on GitHub View on Trac