Generate Unique User Nicenames
Sometimes, you want users to have unique nice names. Here’s a neat little function I wrote to generate a unique nicename for new users. Ultimately, what this function will do is take a string of text and validate it against existing user nice names found on your site. If the nice name is taken, it […]