apply_filters( 'validate_username', bool $valid, string $username )

Filters whether the provided username is valid or not.


Parameters

$valid

Whether given username is valid.

$username

Username to check.


Source

File: wp-includes/user.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.0.1 Introduced.