I noticed that just removing the ‘wp_admin_bar_init’ action doesn’t fully disable the admin bar. In admin-header.php, the class ‘admin-bar’ still gets added to the the body tag which results in a 28px padding getting added to the top of the body.
A more effective way to remove the admin bar would be:
Hope that helps.
- The topic ‘[Plugin: Disable Admin Bar] Plugin doesn't fully disable Admin Bar’ is closed to new replies.