WordPress.org

Ready to get started?Download WordPress

Forums

Remove contextual help (1 post)

  1. bthaxor
    Member
    Posted 5 years ago #

    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')){ ?>
    TRALALALA
    <?php }?>

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

    thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic