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


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

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 4 days, 12 hours ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!