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

Filters whether the provided username is valid or not.

Description Description

Parameters Parameters


(bool) Whether given username is valid.


(string) Username to check.

Top ↑

Source Source

File: wp-includes/user.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.0.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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