Create flexible slots
-
I use this plugin to program events at a community center and everything works great. Till now I used fixed slots of 1h but now I have the requirement for flexible slots depending of the kind of event used on reservation process.
The plugin doesn’t support flexible slots and probably it would quite a lot of refactoring of how it works now to implement that. So I thought of trying the following approach:
- Hook into creating new appointment
- Look at the event type to get slot time
- Modify “end” column in “wp_ea_appointments” table using SQL
Could this work using ea_new_app_from_customer hook or are there drawbacks I missed?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Create flexible slots’ is closed to new replies.