Hide Wordpress Admin Bar

add_filter( 'show_admin_bar', '__return_false' );
Remove the Wordpress Admin Bar from the front-end of your website which can often be intrusive and interfere with your theme.

Add the snippet to your functions.php file.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.