1. Home
  2. FAQs
  3. How can Editor role users access the plugin?

How can Editor role users access the plugin?

To make the plugin visible or accessible to the editor role users, please add the following code to the functions.php file of your current theme. Have a look at the screenshot.

// Plugin access to editor role users

function ea_show_to_editor() {

    return ‘edit_others_posts’;

}

add_filter( ‘sp_easy_accordion_ui_permission’, ‘ea_show_to_editor’ );

After adding the code, Editors will be able to manage the plugin.

Updated on March 3, 2026