Filters whether the provided username is valid.
$validbool$usernamestringwp-includes/user.php:2122validate_username() * * @since 2.0.1 * * @param bool $valid Whether given username is valid. * @param string $username Username to check. */ return apply_filters( 'validate_username', $valid, $username );} /** * Inserts a user into the database. * * Most of the `$userdata` array fields have filters associated with the values. Exceptions areIntroduced in 2.0.1. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.