Created
November 6, 2014 07:40
-
-
Save caercam/fee98c7eb6c823daabd1 to your computer and use it in GitHub Desktop.
Remove WPMOLY 2.0 Headbox tabs. Place this at the end of your theme's functions.php file.
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
function wpmoly_remove_headbox_tabs( $tabs ) { | |
unset( $tabs['meta'], $tabs['details'] ); | |
return $tabs; | |
} | |
add_filter( 'wpmoly_filter_headbox_menu_link', 'wpmoly_remove_headbox_tabs', 10, 1 ); | |
add_filter( 'wpmoly_filter_headbox_menu_tabs', 'wpmoly_remove_headbox_tabs', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment