How to remove help tabs?

You need to use the contextual_help help filter.

add_filter( 'contextual_help', 'wpse50723_remove_help', 999, 3 );
function wpse50723_remove_help($old_help, $screen_id, $screen){
    $screen->remove_help_tabs();
    return $old_help;
}

The filter is for the old context help (pre 3.3). (I’m not sure it matters what is returned…?).

In any case the filter should be called late (hence 999) because plug-ins could add their own help tabs to pages. This is partly why admin_head is not an ideal hook.

Leave a Comment