Support

Home Forums Event Espresso Premium Adding Actions to Successful Registrations

Adding Actions to Successful Registrations

Posted: August 20, 2015 at 3:29 am

Viewing 2 reply threads


Alan Coyne

August 20, 2015 at 3:29 am

Hi,

I’m looking for some guidance on how best to implement the following.
Using latest versions of plugins & WordPress
We have another website which we want to “integrate” with the event registration website. With each event I want to include a variable which will be looked at after a successful registration
Variable Option A – Run a script which connects to API to extract info on attendee.
Variable Option B – Ask attendee if they would like to run above script
Variable Option C – Do nothing
Whats the best method to check for variable after a successful registration and perform above actions?

Thanks

Alan


Dean

August 20, 2015 at 4:37 am

Hi Alan,

You would need to use a hook/filter to display your message/code. Probably the best way would be to use standard WP content the_content filter, do a check to make sure you’re on the Thank You page and output your code.

The action hook AHEE__thank_you_page_payment_details_template__after_each_payment may also be preferred – found in /wp-content/plugins/event-espresso-core-reg/shortcodes/espresso_thank_you/EES_Espresso_Thank_You.shortcode.php


Alan Coyne

August 27, 2015 at 7:56 am

Thanks Dean.

Viewing 2 reply threads

The support post ‘Adding Actions to Successful Registrations’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso