Hi, I’m going to try my hand at writing a function that adds a registration to EE4 once a product is purchased in Woocommerce. Can you please point me to the EE4 hooks I will need to use for this?
I thought about this, and I think you’d use a Woocommerce action hook and add a function callback that adds a registration to EE4. This when the action hook in Woocommerce is fired, your custom code will run because it’s attached to that hook.
Then, to interact with Event Espresso’s data, you can use the model system. There’s an example in this documentation:
The support post ‘Woocommerce Integration’ 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.