Hi @popsantiago,
You can use the pending_to_confirmed
post transition hook that is part of WordPress to hook in and execute custom code whenever a booking is confirmed.
You can see how my plugin does this to send the confirmation email. The hook is configured here:
https://github.com/NateWr/restaurant-reservations/blob/master/includes/Notifications.class.php#L47-L57
And that hook fires this function:
https://github.com/NateWr/restaurant-reservations/blob/master/includes/Notifications.class.php#L113-L127
Hello,
Thx for reply.
Do you think you can manage me a function for my child theme with that plugin and his function twl_send_sms( $args ) here https://themebound.com/shop/wp-twilio-core/ ?
https://fr.wordpress.org/plugins/wp-twilio-core/
And make them compatible ?
Thx
Hi @popsantiago,
I’m not able to provide the working code. But with the information I’ve provided above and the details you’ve linked to, a developer should be able to do this for you without too much difficulty.
I’d encourage you to reach out to codeable.io. They match customization projects with qualified freelancers at reasonable rates.