Looking for Appointments+ hooks and filters

I’m looking for a hook that I can use to trigger when someone makes a booking in order to update another section of their user profile.

  • Adam Czajczyk
    • Support Gorilla

    Hello Chris,

    I hope you’re well today and thank you for your question!

    I think you could make use of “wpmudev_appointments_insert_appointment” action like this:

    function my_new_appointment_handle($app_id) {
    /** your code here
    the only parameter is $app_id
    which you may use to find information
    on add appointment **/
    }
    add_action('wpmudev_appointments_insert_appointment' , 'my_appointment_handle');

    Let me know if this worked for you, please!

    Best regards,

    Adam

  • Adam Czajczyk
    • Support Gorilla

    Hello Chris!

    Do you have a list of hooks and filters for this plugin? Is there a resource page for that?

    Currently there’s no such list, unfortunately. I agree that this would be very helpful in many cases but so far the only way to find hooks and filters available is to review plugins’ codes.

    An exception would be the Membership 2 Pro plugin that includes a built-in API which is documented on plugin’s help page (“Membership 2 -> Help -> API Docs” page in your site’s dashboard).

    In case you needed any further help with this, let me know please and I’ll be more than happy to assist you!

    Best regards,

    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.