Skip to content

Instantly share code, notes, and snippets.

@codearryaas
Created November 21, 2019 16:10
Show Gist options
  • Save codearryaas/82122ed21657c34acdb459d540083bf3 to your computer and use it in GitHub Desktop.
Save codearryaas/82122ed21657c34acdb459d540083bf3 to your computer and use it in GitHub Desktop.
WordPress: Remove admin bar in front-end: Part 2
function your_theme_admin_bar(){
return false;
}
add_filter( 'show_admin_bar' , 'your_theme_admin_bar');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment