Created
November 13, 2014 11:51
-
-
Save alessandrotesoro/c814a64c915326339f5b to your computer and use it in GitHub Desktop.
WPRM: Allows Bookings Managers to access the calendar page in WP Restaurant Manager Pro Plugin.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wprm_show_calendar_to_managers() { | |
return 'publish_wprm_reservations'; | |
} | |
add_filter( 'wprm_calendar_cap', 'wprm_show_calendar_to_managers' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment