wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



add_contextual_help › WordPress Function

Depuis2.7.0
Dépréciée3.3.0
add_contextual_help ( $screen, $help )
Paramètres: (2)
  • (string) $screen The handle for the screen to add help to. This is usually the hook name returned by the `add_*_page()` functions.
    Requis: Oui
  • (string) $help The content of an 'Overview' help tab.
    Requis: Oui
Voir:
  • WP_Screen::add_help_tab()
Défini(e) dans:
Codex:

Add contextual help text for a page.

Creates an 'Overview' help tab.


Source

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 );
}