So i’ve been googling around and i’m trying to figure out a plain simple solution to my problem. I’ve tried several things but they are simply not working. I just got into WordPress and i have to edit some permissions. I want to give the Editor rank access to ONE specific plugin. I’ve determined that this is the piece of code that returns a false or true statement ( Are you an admin? ).

The editor should have sufficient rights to work in the settings tab of this plugin. This is the piece of code. I’m not asking for straight answers, i just need some advice.

if (is_admin() ){
add_action('admin_menu', 'rooster_admin_menu');
add_action('plugins_loaded', 'rst_add_registration');
add_action('plugins_loaded', 'rst_cancel_registration');
add_action('plugins_loaded', 'rst_delete_event');
function rooster_admin_menu(){
    add_options_page('Rooster', 'Rooster', 'administrator', 'rooster', 'rooster_html_page');

Read more here: Custom user access


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, ,

Wordpress related questions and answers: