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

Filters whether the provided username is valid.


Parameters

$valid bool
Whether given username is valid.
$username string
Username to check.

Top ↑

Source

File: wp-includes/user.php. View all references

return apply_filters( 'validate_username', $valid, $username );


Top ↑

Changelog

Changelog
Version Description
2.0.1 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.