Created
December 3, 2016 10:19
-
-
Save sagarjadhav/68b7504a3307e17f9a77b2477daf7707 to your computer and use it in GitHub Desktop.
Add class to body in admin section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add class to body in admin section | |
function admin_body_classes($classes) { | |
$classes .= 'no-adminbar'; | |
return $classes; | |
} | |
add_filter( 'admin_body_class', 'admin_body_classes' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment