How can I change username, now I have an email address of the registered attendee but I would like to change this to first letter of the name plus last name f.e we have user Marco Polo m.polo@china.com and I would like to change the user name to mpolo. Any ideas?
The username can be filtered using the FHEE__EED_WP_Users_SPCO__process_wpuser_for_attendee__username filter hook.
However, currently the only argument passed to that filter hook is the users email address, and I can’t see a way to get more info. I will raise a ticket to see if we can modify this filter to pass the full registration data to the filter in a future version.
Update: The WP User Integration add-on has an update and one of the changes in this update is the FHEE__EED_WP_Users_SPCO__process_wpuser_for_attendee__username filter hook can now access the registration object.
Viewing 2 reply threads
The support post ‘username generated during registration’ 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.