rcp_validate_username

Note: This is part of the developer docs and is considered custom code.
Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code.

If you need assistance with this, please reach out to our list of consultants for further assistance:
https://codeable.io/developers/restrict-content-pro/

Filters whether or not a given username is valid. This is used during the registration process when creating a new user account.

Parameters:

  • $is_valid (bool) - Whether or not the supplied username is valid. If false, an error will be shown on the registration form.
  • $username (string) - The username supplied by the customer.
Powered by Zendesk