Definition:
function add_contextual_help($screen, $help) {}
Add contextual help text for a page
Parameters
- 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;
}
341

February 11, 2011 


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