Adding the following snippet to your theme’s functions.php file, you will be able to make accessible menu editor.
1 2 | $ Role_object = get_role ( 'editor' ) ; $ role_object -> add_cap ( 'edit_theme_options' ) ; |
Snippet Source/Credit: Webundso
Adding the following snippet to your theme’s functions.php file, you will be able to make accessible menu editor.
1 2 | $ Role_object = get_role ( 'editor' ) ; $ role_object -> add_cap ( 'edit_theme_options' ) ; |
Snippet Source/Credit: Webundso