WordPress at a glance
filter is not described

illegal_user_logins filter-hook . WC 3.7.0

WordPress 4.4 - filters the list of blocked usernames.

Usage

add_filter( 'illegal_user_logins', 'filter_function_name_2083' );
function filter_function_name_2083( $usernames ){
	// filter...

	return $usernames;
}
$usernames(array)
Array of blocked usernames.

Changelog

Since 3.7.0 Introduced.

Where the hook is called

wc_create_new_customer_username()
illegal_user_logins
woocommerce/includes/wc-user-functions.php 170
$illegal_logins = (array) apply_filters( 'illegal_user_logins', array() );

Where in WP core the hook is used WooCommerce

Usage not found.