Easy Accordion

  1. Home
  2. Docs
  3. Easy Accordion
  4. FAQs

FAQs

1) How can the Editor Role users access the plugin?

Ans: 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.

add_filter( 'sp_easy_accordion_ui_permission', 'sp_easy_accordion_ui_permission_to_editor' );

function sp_easy_accordion_ui_permission_to_editor() {
    return 'edit_others_pages';
}