1. Home
  2. Docs
  3. Function Reference
  4. Functions
  5. unique_username_fn()

unique_username_fn()

Recursive method to create a unique username

Copy to Clipboard

Parameters

$username_str

The username to make unique

Return

string

A unique username

Example

Copy to Clipboard

Location

This function can be found here: