contextual_help filter-hook . WP 2.7.0
Deprecated in 3.3.0. It is no longer supported and can be removed in future releases. Use get_current_screen()->add_help_tab() or
get_current_screen()->remove_help_tab()
instead.
Deprecated: 3.3.0 Use get_current_screen()->add_help_tab() or
get_current_screen()->remove_help_tab() instead.
Filters the legacy contextual help text.
Usage
add_filter( 'contextual_help', 'filter_function_name_9581', 10, 3 ); function filter_function_name_9581( $old_help, $screen_id, $this ){ // filter... return $old_help; }
- $old_help(string)
- Help text that appears on the screen.
- $screen_id(string)
- Screen ID.
- $this(WP_Screen)
- Current WP_Screen instance.
Where the hook is called
wp-admin/includes/class-wp-screen.php 765
$old_help = apply_filters( 'contextual_help', $old_help, $this->id, $this );