Support » Plugin: WP Hide Dashboard » Works

  • I ended up hiding the toolbar from non-contributors thus:-

    			/* hide toolbar from subscribers */
    	add_action('after_setup_theme', 'remove_admin_bar');
    	function remove_admin_bar() {
    		if ( ! current_user_can( 'edit_posts' ) ) {
    			show_admin_bar( false );
    		}
    	}

    but I still need Kim’s plugin to ensure that subscribers looking for my admin area can only see a minimal profile page. Good stuff 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this review.