/ Published in: PHP
As of WordPress 3.1.2, Editors do not have access to the menu editor in WordPress. The following code gives that capability to Editors. Add this code to your functions.php file.
Expand |
Embed | Plain Text
<?php add_action( 'init', 'my_role_modification' ); function my_role_modification() { $role = get_role( 'editor' ); $role->add_cap( 'edit_theme_options' ); } ?>
You need to login to post a comment.
