Last active
June 3, 2016 23:56
-
-
Save danieliser/80d22eeb725bdb4de639 to your computer and use it in GitHub Desktop.
Change required capability for themes menu.From https://wordpress.org/support/topic/one-free-theme-no-more-included-or-it-is-error-as-theme-sub-menu-not-showing?replies=2#post-6079513
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 | |
// Copy everything below here to your functions.php file. | |
add_filter('emodal_admin_submenu_themes_capability', 'fix_my_emodal_theme_menu'); | |
function emodal_admin_submenu_themes_capability($capability) { | |
return 'edit_posts'; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment