There’s a code example in our code snippet library that shows how to modify the WP User integration add-on so it adds a user account for every registration in a transaction. Here’s a link to that snippet:
So the snippet is not working on my end. The event transaction takes place but the only user created is the primary registrant and not the additional ones.
Another guess: Did you add the code to a theme’s functions.php file or into its own plugin? If it was added to a theme’s functions.php file, the code will not execute (it’s too late at that point). You’ll need to make sure you load the code via its own WP plugin. See also:
That got me sorted. I had it in the functions.php file and moved it to a must use plugin.
Much appreciated ๐
Viewing 6 reply threads
The support post ‘Create users for each of the registrants’ 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.