Support » Plugin: WP Hide Dashboard » Jetpack still available

Viewing 1 replies (of 1 total)
  • I found this solution googling around (which works), but it would be great if the plug-in itself took care of this. Thanks again.

    add to functions.php:

    add_action(‘admin_init’, ‘remove_menus’);
    function remove_menus(){
    if(!current_user_can(‘add_users’)){
    remove_menu_page(‘jetpack’);
    }
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Jetpack still available’ is closed to new replies.