'Editor' Role to be able to access and manage Fotobook
-
Hi There,
Can someone advise if there’s a way I can have the editor role to manage and update Fotobook as I currently only have the menu available to teh administrator role.
I would prefer to make an update to the functions.php rather than use a roles plugin if possible, however as a newbie I have no idea if this is possible and if so, how to do it..
I did find code for the wp-polls to enable me access for the editor to manage the polls (as below).. Could someone help me please.
add_action('activate_wp-polls/wp-polls.php', 'tc_add_poll_permissions'); function tc_add_poll_permissions() { $add_role = get_role('editor'); if(!$add_role->has_cap('manage_polls')) { $add_role->add_cap('manage_polls'); } }
Thanks Guys!
Jami
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘'Editor' Role to be able to access and manage Fotobook’ is closed to new replies.