Remove "help" dropdown from menu bar (4 posts)

  1. Dezio
    Posted 4 years ago #

    How can I remove the "help" dropdown tab in the right side under the admin bar? Can I do without modify core files? I would do it by functions.php file, but I can't :(


  2. Clayton James
    Posted 4 years ago #

    I just tried this in WP 3.3.2 and 3.4 beta 4. It seems to work.

    - Create a new php file and name it remove_help_tabs.php

    - Paste this in the file and save the changes

    Plugin Name: Remove Admin Help Tabs
    add_filter( 'contextual_help', 'mycontext_remove_help', 999, 3 );
      function mycontext_remove_help($old_help, $screen_id, $screen){
        return $old_help;

    ...and upload it to /wp-content/plugins

    Find the new plugin named "Remove Admin Help Tabs" and activate it. The help tabs should no longer be visible.

    I confirmed that this seems to work on 3.3.2 and 3.4, but only as far as the initial result.

    - Source of my information:

    1) http://core.trac.wordpress.org/browser/branches/3.3/wp-admin/includes/screen.php#L628 shows remove_help_tabs() function.

    2) revealed little documentation as of yet (probably not actually much to document): Class Reference/WP Screen > Class Reference/WP Screen/remove help tabs

    3) next stop: Google key word search took me here There is also some explanation about why this specific code was chosen. I just stuck it in a plugin instead of a functions file.

    If you try this, you do so at your own risk, (I'm not a coder by any stretch of the imagination, but I encountered no initial surprises when I tried it out) and please, please make sure you have all your backups made first. :-)

    Hopefully, someone with real coding knowledge might pop by and point out any pros and cons of doing it this way.

    Good luck!

  3. Dezio
    Posted 4 years ago #

    It seems to work correctly :)

    Thank you

  4. Clayton James
    Posted 4 years ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic