[Resolved] Deny "spaces" in usernames.
As title states. I want to quickly, cleanly just create a very basic plugin (hook/filter) that simply denies the use of space when a new user registers. I understand that I need to use the validate_username hook, but on how to use it to create my small specific tweak I am kinda lost.
ps: Stupid idea of WP to allow spaces in username in the first place imo.
- The topic ‘[Resolved] Deny "spaces" in usernames.’ is closed to new replies.