Hello @jmayorga9112,
That hook would be wpmudev_appointments_update_appointment_status. Here is an example on how to do use it:
add_action( 'wpmudev_appointments_update_appointment_status', function( $app_id, $new_status, $old_status ){
$appointment = appointments_get_appointment( $app_id );
if ( 'SOMETHING' == $new_status ) {
//DO STUFF
}
if ( 'SOMETHING' == $old_status ) {
//DO STUFF
}
} );
kind regards,
Kasia
Hello @jmayorga9112
Hope all is well!
We’ve not heard from you in a while. I’ve marked this ticket as resolved for now, but if you need anything else at all, we’re here for you, please just reopen the ticket or create a new one.
Have a great day!
Cheers,
Nastia