hide wordpress admin dashboard bar plugin

Posted on 28/07/2017 by imammubin in wordpress

this is an example how to create wordpress plugin, hide admin dashboard bar
download plugin download on github

<?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’);

?>

Creative Web Developer, Blogger and Citizen Journalist

imam has written 37 articles on this site

Author Connect : Twitter | | Facebook