Skip Navigation

[Resolved] Email not required

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#1961787

I'm not sure offhand, but this post seems to indicate you cannot change an existing User login with wp_update_user:
https://wordpress.stackexchange.com/questions/103504/how-to-programatically-change-username-user-login/103509

#1966607

Finally, found a way by generating a temporary username and change it on a second function, using all 3 Form hooks available.
The code looks terrible, but it does what we need.
By the way, don't you think it will be time that Toolset enter the new age?
I mean, I love emails, but in a world dominated by social medias we have to understand that there are a lot of people, especially the young generation, which don't even know what an email is!
To spend hours coding, just to be able to save a form, without an email address, simply it doesn't sound right 😉

I'd like to correct my first sentence of this ticket: "Maybe a silly question" ...... well, it wasn't!

Thanks for your help.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.