How to remove contextual help on WP 3.3.2?

Since WordPress 3.3, contextual help tabs are added via the Screen object, using add_help_tab(). The basic structure is as follows: <?php $screen = get_current_screen(); $screen->add_help_tab( array( ‘id’ => ‘sfc-base’, ‘title’ => __(‘Connecting to Facebook’, ‘sfc’), ‘content’ => “HTML for help content”, ) ); ?> If you know the $id of a specific help tab, you … Read more

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 … Read more