Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'body_class', 'remove_oxy_body_classes');
- function remove_oxy_body_classes( $classes ) {
- if (in_array('theme-oxygen-is-not-a-theme', $classes)) {
- unset( $classes[array_search('theme-oxygen-is-not-a-theme', $classes)] );
- }
- if (in_array('oxygen-body', $classes)) {
- unset( $classes[array_search('oxygen-body', $classes)] );
- }
- return $classes;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement