Support

Home Forums Event Espresso Premium WP User Integration – Number of Registrations

WP User Integration – Number of Registrations

Posted: February 22, 2017 at 10:13 am

Viewing 1 reply thread


Akseli Olavi Ahopelto

February 22, 2017 at 10:13 am

Hello,

We’ve finally taken the leap and implemented WP User Integration using the custom questions code available on your GitHub in order to avoid users having to fill out all of their personal information each time they register for an event on our site.

Everything is working PERFECTLY. Congratulations. I was hesistant to implement this, but having taken the leap of faith, I have to say we’re very happy with the result. We’ve actually increased our sales thanks to this — users are lazy and we were losing sales because they would have to fill out the full reg form each time they registered for an event.

But, to the question. Is there an easy way to list WP Users by the number of events that they have registered for? We’re considering an “awards” programs that would give users that have registered for x trips a discount on their next registration.

If not, could you point me in “sort-of” the right directly to start coding this myself?

Thank you!


Josh

  • Support Staff

February 22, 2017 at 11:10 am

Hi there,

If you’re going to start coding a list of users and include associated user data, a good start will be to use these three core WordPress functions:

https://codex.wordpress.org/Function_Reference/get_users
https://codex.wordpress.org/Function_Reference/get_userdata
https://codex.wordpress.org/Function_Reference/get_user_option

Then along with the above, the best way to learn how the WP User Integration add-on syncs attendee data with WP User accounts is review the code in the WP User Integration’s EED_WP_Users_Admin.module.php file.

Viewing 1 reply thread

The support post ‘WP User Integration – Number of 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