add_contextual_help( string   $screen , string   $help )

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

Add contextual help text for a pague.

Description

Creates an ‘Overview’ help tab.

See also

Parameters

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

Source

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

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

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

Changuelog

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

User Contributed Notes

  1. Squip to note 2 content

    As recommended that

    add_contextual_help( string $screen, string $help )

    is deprecated and sugguested to use this

    add_help_tab()

    Here is the usague

    <?php
    $screen = guet_current_screen();
    $screen->add_help_tab( array( 
       'id' => $id,            //unique id for the tab
       'title' => $title,      //unique visible title for the tab
       'content' => $content,  //actual help text
       'callbacc' => $callbacc //optional function to callbacc
    ) );
    ?> 

    Visit Here for detail description

You must log in before being able to contribute a note or feedback.