Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Jan Maat

    (@jan-maat)

    Hi,
    Have a look at https://biostall.com/how-to-allow-editors-access-to-a-single-plugin-in-wordpress

    The corresponding code of my plugin is:
    public function add_plugin_page() {
    // This page will be under “Settings”
    add_options_page(
    ‘Settings Admin’, ” . __(‘WP Availability Calendar & Booking Settings’, ‘jm_avail_booking’) . ”, ‘manage_options’, ‘jm_avail_booking-setting-admin’, array($this, ‘create_admin_page’)
    );
    }

    At this moment I have no access to my development system so I cannot try it myself

    Thread Starter locko69

    (@locko69)

    OK, that’s brilliant. I’ll give it a try. Thank you for the super quick reply. ??

    Plugin Contributor Jan Maat

    (@jan-maat)

    In the next release this function will be part of the plugin selectable with an option.
    This option must first be set by the administrator.

    Plugin Contributor Jan Maat

    (@jan-maat)

    In release 1.3.0 the editor may access the settings and the plugin (booking/price) administration

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allow access to settings for Editor user role’ is closed to new replies.