Articles of contextual help

How to remove contextual help on WP 3.3.2?

How to remove the contextual help and its tab completely from WordPress v3.3.2? The add_filter for contextual help that used to work like wonder on older version no longer work now. Update: (trimmed solution from Chip Bennett) function wpse50787_remove_contextual_help() { $screen = get_current_screen(); $screen->remove_help_tabs(); } add_action( ‘admin_head’, ‘wpse50787_remove_contextual_help’ );

How to add a help tab to all admin pages – including plugin pages

I have working code which adds a help tab to all screens in the admin which already have help options or a help screen – however, screens which don’t have contextual help – such as the plugin I writing, also don’t recognize the add_action call – how can I ensure that the help_tab appears on […]

How to control contextual help section by code?

I had added some content to contextual help section for plugin options page. Now I’d like that page defaulted/toggled to contextual help section open on specific condition in my PHP code. My only issue is that I am not strong with JS and don’t see clear approach to coding that (I know how to pass […]

Edit dashboard's help tab

I wish to edit the text in the dashboard’s help tab. I can add help to other pages, but I want to change the text in the grey box with links on the right-hand side of the help tab. It is on the ‘For more information:’ section. I want to add links to my support […]

Help Tabs with: add_help_tab() callback – How does the argument work?

I just tried to add a simple help tab, from within a class (example to test below). I wanted to use a helper/callback fn to prepare the content for different help tabs. According to core, the function takes some args: WP 3.3 /wp-admin/includes/screen.php LINE 722 // If it exists, fire tab callback. if ( ! […]

How to remove help tabs?

Is there any way to remove the help tabs? I’m looking to remove these tabs not to hide them with CSS. On the wp-admin/includes/screen.php there are a couple of lines that mention this but no idea how to create something to remove the help tab. Is there any way to create something similar to: add_filter(‘screen_options_show_screen’, […]

Click link on plugin/theme page and open the contextual help on a specific tab

I’ve added a help section using the add_help_tab() function. I’d like to be able to click a link somewhere on the theme/plugin page and have the help panel open at whichever tab I need. Can someone help me out with the required JS for this? Each tab panel has a unique hash link associated with […]

Adding Help Tabs To Custom Post Types

Using this well written post – tutorial Edit dashboard’s help tab I have full control over all standard WordPress admin screens. Can this be modified to add “Help” Tabs to custom post types?

Positioning Screen (Contextual) Help Tabs

Using the new WP_Screen class makes it pretty easy to add help text to a screen. <?php add_action( “load-{$somepage}”, ‘wpse_load_reading’ ); function wpse_load_reading() { get_current_screen()->add_help_tab( array( ‘id’ => ‘my-help-tab’, ‘title’ => __( ‘My Title’ ), ‘content’ => __( ‘Help Content’ ) ) ); } This is great for custom pages. But when adding a help […]