• I have several Editors who can add events to the calendar. But it was a surprise for me that they also have possibility to change settings for the calendar. In my opinion, only admin should have this permission.

    Is there some sort of hack that I can use to give only Administrator access to the Events Calendar Options?

    http://wordpress.org/extend/plugins/events-calendar/

Viewing 1 replies (of 1 total)
  • Plugin Author snumb130

    (@snumb130)

    In events-calendar.php go to line 220

    Change
    add_submenu_page(‘events-calendar’, __(‘Events Calendar Options’,’events-calendar’), __(‘Options’,’events-calendar’), $EC_userLevel, ‘events-calendar-options’, array(&$management, ‘calendarOptions’));

    To
    add_submenu_page(‘events-calendar’, __(‘Events Calendar Options’,’events-calendar’), __(‘Options’,’events-calendar’), ‘level_10’, ‘events-calendar-options’, array(&$management, ‘calendarOptions’));

Viewing 1 replies (of 1 total)

The topic ‘Only admin should access Events Calendar Options’ is closed to new replies.