validate_username

Advertisement

Summery Summery

Filters whether the provided username is valid or not.

Syntax Syntax

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

Parameters Parameters

$valid

(bool) Whether given username is valid.

$username

(string) Username to check.

Source Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.1 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.