Allow editors to edit menu items on WordPress

// Add editor the privilege to edit theme
$role_object = get_role( 'editor' ); // get the the role object
$role_object->add_cap( 'edit_theme_options' ); // add $cap capability to this role objectCode language: PHP (php)

It will be enough running this once.


Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.