contextual_help filter-hookWP 2.7.0

Deprecated from version 3.3.0. It is no longer supported and can be removed in future releases. See {@see get_current_screen()->add_help_tab()} or {@see get_current_screen()->remove_help_tab()}.

Filters the legacy contextual help text.


add_filter( 'contextual_help', 'wp_kama_contextual_help_filter', 10, 4 );

 * Function for `contextual_help` filter-hook.
 * @param string    $old_help                                Help text that appears on the screen.
 * @param string    $screen_id                               Screen ID.
 * @param WP_Screen $screen                                  Current WP_Screen instance.
 * @param           $get_current_screen()->remove_help_tab() 
 * @return string
function wp_kama_contextual_help_filter( $old_help, $screen_id, $screen, $get_current_screen()->remove_help_tab() ){

	// filter...
	return $old_help;
Help text that appears on the screen.
Screen ID.
Current WP_Screen instance.


Since 2.7.0 Introduced.
Deprecated since 3.3.0 Use {@see get_current_screen()->add_help_tab()} or
{@see get_current_screen()->remove_help_tab()} instead.

Where the hook is called

wp-admin/includes/class-wp-screen.php 822-827
$old_help = apply_filters_deprecated(
	array( $old_help, $this->id, $this ),
	'get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab()'

Where the hook is used in WordPress

Usage not found.