Created
March 1, 2019 10:34
-
-
Save danielstrelec/079a993c23f47d62453189ece004cee3 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
// zrušení možnosti úpravy šablony z menu | |
function remove_customize () { | |
global $submenu; | |
unset($submenu['themes.php'][6]); | |
} | |
add_action('admin_menu', 'remove_customize'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment