validate_username

validate_username

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('validate_username') is found 1 times:

  • /wp-includes/user.php line 2010
    	 *
    	 * @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 are