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

Whether given username is valid.

$username

Username to check.

Source Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.1 Introduced.

Advertisement

Leave a Reply