Return to Snippet

Revision: 51933
at October 7, 2011 20:49 by florent


Initial Code
	<?php
	    global $current_user;
	    get_currentuserinfo();
	 
	    if ($current_user->ID != 1) {
	        add_filter( 'show_admin_bar', '__return_false' );
	    }
	?>

Initial URL


Initial Description


Initial Title
Remove WordPress Admin Bar - Enlever la barre d'administration de Wordpress

Initial Tags
wordpress

Initial Language
PHP