Support » Plugins and Hacks » Remove contextual help

Remove contextual help

  • hey all:

    in wordpress 2.7, i have noticed there is a ‘contextual help’ item hovering at the top of all admin pages (pages with wp-admin in their url).

    i have given all my users only the ability to edit their profile (have removed the sidebar menu etc.), and i wish to also remove this item from their profile.

    i have traced down the contextual help to be in /wp-admin/js/common.js, however since this is a javascript file, i cannot use the following function:

    <?php if (current_user_can('edit_users')){ ?>
    <?php }?>

    can anyone tell me how i can remove this only for subscribers / users without admin permissions?


  • The topic ‘Remove contextual help’ is closed to new replies.
Skip to toolbar