Support » Plugin: User Role Editor » How to make a user access a plugin?

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulia


    WP Booking system uses ‘manage_options’ capability by default for all its menu items.

    It’s possible though to replace ‘manage_options’ with some other capability using the filter ‘wpbs_menu_page_capability’. Like this:

    add_filter('wpbs_menu_page_capability', 'change_wpbs_menu_cap', 10, 1);
    function change_wpbs_menu_cap( $cap ) {
      $cap = 'some_other_cap';
      return $cap;

    Similar change for submenu items is more complex. Simple editing existing user roles will not help. It’s better to ask support at the WPBS plugin developer.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.