I want to allow users to create username with + symbol. but wordpess removing the symbol by the register validation process.
If I gave username as abcd+123, the user registered with username as abcd123.
I need the username registered as it is with + symbol.
Answers are greatly appreciated.
We need to add a filter to ‘sanitize_user’.
Here is the sample code that will work for you.