Support

Home Forums Event Espresso Premium Using a Different Acknowlegement Page for Different Events

Using a Different Acknowlegement Page for Different Events

Posted: March 15, 2019 at 4:47 am

Viewing 1 reply thread


KLLASC

March 15, 2019 at 4:47 am

Hi,
On the page where it says “Congratulations…you have successfully registered….”, how can we determine the event registered such that we can have custom actions for Event #1 but not for Event #2?
E.g. automatically redirecting registrants to proceed to register for Event #2

Thanks.


Tony

  • Support Staff

March 15, 2019 at 5:08 am

Hi there,

The page you are referring to is the thank you page and that page has a few hooks available:

do_action('AHEE__thank_you_page_overview_template__top', $transaction);
do_action('AHEE__thank_you_page_overview_template__content', $transaction);
do_action('AHEE__thank_you_page_overview_template__bottom', $transaction);

You could use any of those to direct the user to another page and we have an example of how to pull the event from the transaction on those hooks here:

https://gist.github.com/joshfeck/7543350476b18b2b4a5f98f8202b89a3

Viewing 1 reply thread

The support post ‘Using a Different Acknowlegement Page for Different Events’ 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