apply_filters( 'illegal_user_logins', array $usernames ) Filters the list of disallowed usernames. ContentsParameters Source Related Used By Changelog User Contributed Notes Parameters $usernames (array) Array of disallowed usernames. Top ↑Source File: wp-includes/user.php View on Trac Top ↑Related Top ↑Used By Used By Used By Description wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::check_username() Check a username for the REST API. wp-admin/includes/user.php: edit_user() Edit user settings based on contents of $_POST wp-includes/user.php: register_new_user() Handles registering a new user. wp-includes/user.php: wp_insert_user() Inserts a user into the database. wp-includes/ms-functions.php: wpmu_validate_user_signup() Sanitizes and validates data required for a user sign-up. Top ↑Changelog Changelog Version Description 4.4.0 Introduced. Top ↑User Contributed Notes You must log in before being able to contribute a note or feedback.