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');

Leave a Reply