Monday, October 1, 2012

Disable the help menu for admin only

Adding this snippet to the functions.php of your wordpress theme will display the help menu for the admin only.

function hide_help() {
    if(!is_admin()){
    echo '<style type="text/css">
            #contextual-help-link-wrap { display: none !important; }
          </style>';
    }
}
add_action('admin_head', 'hide_help');

No comments:

Post a Comment