I’m looking for a list of EE’s filter and action Hooks. I’ve searched and so far found this repo page however it does not seem comprehensive. I’m currently using add_action( ‘AHEE__before_spco_whats_next_buttons’, ‘record_purchases’); to record a purchase however I need the code to run after the registrations are paid for.
We don’t currently have a full list of all of the actions available within EE, however they are all prefixed with either AHEE__ (Action Hook Event Espresso) or FHEE__ (Filter Hook Event Espresso) so if you search for either of those strings in a text editor/IDE you’ll find all of our hooks.
If you looking to record a purchase only when its paid you’ll likely want to use a hook on the thank you page, for example:
Something to be mindful of is if the user refreshed the thank you page that hook will fire again so you’ll want to accommodate for that in your custom code.
Viewing 1 reply thread
The support post ‘List of filter and action Hooks’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.