• Resolved SeanMann

    (@seanmann)


    Hello,
    We’ve got an app that sends the post fields up to our server. We’d like to use Events Manager to handle all of this. I’ve spent quite a while digging into all of the PHP, but can’t find the script that is called when the booking form is submitted.

    I could just submit to the db directly, but then I won’t be getting automatic emails to the admin and registrant (without also creating my own scripts for that).

    So if someone could just point me to the PHP script that is called when the form submits, that’ll go a long way.

    Thanks!

    https://wordpress.org/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    you can try to hook into em_booking_save filter located under events-manager/classes/em-booking.php

    Thread Starter SeanMann

    (@seanmann)

    Thanks, looks like that would still be a mess to write. Was hoping for something more like a public API where I could just call up a function without having to hook in through the WP engine. It’ll be much easier to manually insert the db rows for the ticket and send an email. Bummer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Submit booking via POST manually’ is closed to new replies.