• Resolved SpinyN0rman

    (@spinyn0rman)


    Hi there,

    I’ve just transferred day-to-day operations of a site over to a manager of a small restaurant. He’s an editor on the site as I’m going to continue maintaining it, but this means he can’t update his opening hours.

    Would you consider lowering the permissions needed to edit opening times to include Editors?

    Thanks,

    Andi Northrop

    https://wordpress.org/plugins/wp-opening-hours/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author janizde

    (@janizde)

    Hi SpinyN0rman,

    for this you can use the filter ‘op_min_user_capability’ and modify it in your functions.php

    The default minimum capability is ‘manage_options’

    Jannik

    Jimmy

    (@jayem82)

    Could you please give and example how to add this in functions.php?

    It would be great if you could implement an option for this in the Opening Hours settings.

    Plugin Author janizde

    (@janizde)

    I have created a gist https://gist.github.com/janizde/b6ddf003a72fdc7de9e6
    see the wordpress capability reference to find the matching capabilities for your purpose

    Great! Thank you very much, now I can update future versions without editing the original files 😉

    Hi there,
    Unfortunately I have the same problem. However, I did not understand where I need to add this code from Github. In what funktions.php and at which spot. I would like each user allow the data to adapt.
    Many thanks for your efforts.
    greeting
    sondi2011

    ps: excuse my english

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Allow Editors to make changes’ is closed to new replies.