Is there a way to set a default value for availability period?
-
Thanks very much for creating this plugin. It’s worked really well for my clients and the display pack in particular really enhances their customer experience.
This question is regarding the “at the earliest” and “at the latest” fields found in the booking form, calendar settings, availability tab. Is there a way in the UI to set the default values for these fields without having to do it for each booking form?
Looking at the code, I’ve found this function:
/** * Get booking system fields default data * @since 1.5.0 * @version 1.15.5 * @param array $fields * @return array */ function bookacti_get_booking_system_fields_default_data( $fields = array() )
I can also see that the function above calls the following filter
bookacti_booking_system_fields_default_data
So I know it’s possible to write a snippet to hook into that filter and set the default that way but I was wondering if there was a more official way of doing it in the UI or if the filter is the supported and recommended way.
Thanks so much in advance!
- The topic ‘Is there a way to set a default value for availability period?’ is closed to new replies.