Last active
October 20, 2019 12:06
-
-
Save phpbits/8d5ef6c3833f9620dc9c99453cf81801 to your computer and use it in GitHub Desktop.
This file contains 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 custom body class | |
**/ | |
add_filter('body_class', 'custom_body_class'); | |
function custom_body_class( $classes ) { | |
$classes[] = 'new-body-class'; | |
return $classes; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment