The rpress_validate_username filter is applied to for username validation. It receives two parameters:
apply_filters( ‘rpress_validate_username’, $valid, $username );
$valid – Its sanitize the user name.
$username – The current user name.
The rpress_validate_username filter is applied to for username validation. It receives two parameters:
apply_filters( ‘rpress_validate_username’, $valid, $username );
$valid – Its sanitize the user name.
$username – The current user name.