Reverting a php command
-
Hi I used this code in the child functions.php file.
// get the the role object $role_object = get_role('editor'); // add $cap capability to this role object $role_object->add_cap( 'edit_theme_options' );
To extend the usage of the role of editor for a user with the plugin Adminimize, but now I have removed it, I am unable to have the editor user setting work, it seems to be fixed as a role of administrator even thought the user has a role of Editor?
I also reset and deleted options in Adminimize.
Thanks for any help in advance..
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Reverting a php command’ is closed to new replies.