Saturday, 18 January 2014

How To Remove Admin Bar In Fornt End

When you logged in WordPress then you might find irritating when you look at the admin header. In order remove or hide admin bar in front end, add the following snippet in functions.php



// Remove the admin bar from the front end
add_filter( 'show_admin_bar', '__return_false' );

No comments:

Post a comment