Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/*
Plugin Name: hide admin dashboard bar
Plugin URI: http://bit.ly/hide-admin-dashboard-bar-plugin-v1
Description: hide admin bar dashboard when not in wp-admin
Version: 1.0
Author: iMubin
Author URI: http://www.imammubin.com
*/
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