Support

Home Forums Event Espresso Premium How to add EE Category in EE registrations

How to add EE Category in EE registrations

Posted: July 4, 2019 at 7:07 am

Viewing 1 reply thread


Porter

July 4, 2019 at 7:07 am

Is there a way to automatically add the Event category to a users registration records? When we export the EE data, we’d like the event category to be automatically associated with each registrants booking details. Ideally this should be a hidden field which is updated depending on which category is selected.
Thanks


Josh

  • Support Staff

July 4, 2019 at 8:01 am

Hi,

You can add the PHP snippet that Tony made:

https://gist.github.com/Pebblo/09081bb43fa217b0e83060d151d3eda2

What that will do is when the CSV report is generated, it will grab the category/categories from the event for each registration and include that information in an additional column of the report.

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.

Viewing 1 reply thread

The support post ‘How to add EE Category in EE 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