function add_contextual_help($screen, $help) {}

Add contextual help text for a page


  • string $screen: The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.
  • string $help: Arbitrary help text

Source code

function add_contextual_help($screen, $help) {

	global $_wp_contextual_help;

	if ( is_string($screen) )

		$screen = convert_to_screen($screen);

	if ( !isset($_wp_contextual_help) )

		$_wp_contextual_help = array();

	$_wp_contextual_help[$screen->id] = $help;



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: