Skip to content

Instantly share code, notes, and snippets.

@davidvandenbor
Last active August 29, 2015 13:57
Show Gist options
  • Save davidvandenbor/9544386 to your computer and use it in GitHub Desktop.
Save davidvandenbor/9544386 to your computer and use it in GitHub Desktop.
WordPress: Hide Adminbar at the front-end
<?php
/**
* Wordpress hook for hiding the WP Adminbar on the front end.
* @file functions.php
*/
add_filter('show_admin_bar', '__return_false');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment