2145*2146* @since 2.0.12147*2148* @param bool$valid Whether given username is valid.2149* @param string$username Username to check.2150*/2151returnapply_filters('validate_username',$valid,$username);2152}21532154/**2155* Inserts a user into the database.2156*2157* Most of the `$userdata`array fields have filters associated with the values. Exceptions are
History
Introduced in 2.0.1. Unchanged from 6.7.7 through 7.1.0.