Created
December 4, 2013 19:09
-
-
Save dcooney/7793554 to your computer and use it in GitHub Desktop.
Remove 'Customize' menu item from WordPress admin.
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
//Remove Customize.php | |
function remove_sub_menus () { | |
remove_submenu_page('themes.php', 'customize.php'); //Customize | |
} | |
add_action('admin_menu', 'remove_sub_menus'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment