Title: Hook ro confimation
Last modified: April 5, 2019

---

# Hook ro confimation

 *  Resolved [jmayorga9112](https://wordpress.org/support/users/jmayorga9112/)
 * (@jmayorga9112)
 * [7 years ago](https://wordpress.org/support/topic/hook-ro-confimation/)
 * hi I would like to hook my function to do something when the status change to
   confirmed. would you like to tell where it is specifically? i cant find it

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/hook-ro-confimation/#post-11407843)
 * Hello [@jmayorga9112](https://wordpress.org/support/users/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
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/hook-ro-confimation/#post-11471795)
 * Hello [@jmayorga9112](https://wordpress.org/support/users/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

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hook ro confimation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/appointments_eaf36c.svg)
 * [Appointments](https://wordpress.org/plugins/appointments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/appointments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/appointments/)
 * [Active Topics](https://wordpress.org/support/plugin/appointments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/appointments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/appointments/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/hook-ro-confimation/#post-11471795)
 * Status: resolved