Appointment Calendar
Client plug-in management (2 posts)

  1. molesina13@hotmail.com
    Posted 3 years ago #

    I am the developer of the website and I installed your plugin in the WP site. Now I would like to let my client to manage her own times off and appointments, Is it possible to set a user role for my client to be free to manage all of this and don't risk the website's content?


    Posted 3 years ago #

    Hi Ana,

    For this, you need to change the access role of time-off page in plugin menu.

    Use file appointment-calendar.php to change access role

    // Time-Off Page
    add_submenu_page( 'appointment-calendar', 'Time Off', 'Time Off', 'administrator', 'timeoff', 'dispaly_timeoff_page' );
    // Update Time-Off Page
    add_submenu_page( 'appointment-calendar', 'Update TimeOff', '', 'administrator', 'update-timeoff', 'dispaly_updatetimeoff_page' );

    By default its access role is: administrator

    WordPress has five pre-defined Roles: Administrator, Editor, Author, Contributor and Subscriber.

    Set it according to your registered user's role, then both plugin-menu-pages could be accessed by your users.



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Appointment Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic