It often happens that customers want to do their own thing in the dashboard (or backend) of WordPress. In the course of this, it may be necessary to enable the editor to edit menus. All you have to do is add the following lines to your functions.php.

$role_object = get_role('editor');
$role_object->add_cap('edit_theme_options');

Leave a Reply

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