WordPress at a glance
filter is not described

signup_user_init filter-hook . WP 3.0.0

Filters the default user variables used on the user sign-up form.

Usage

add_filter( 'signup_user_init', 'filter_function_name_3340' );
function filter_function_name_3340( $signup_user_defaults ){
	// filter...

	return $signup_user_defaults;
}
$signup_user_defaults(array)

An array of default user variables.

  • $user_name (string)
    The user username.

  • $user_email (string)
    The user email address.

  • $errors (WP_Error)
    A WP_Error object with possible errors relevant to the sign-up user.

Where the hook is called

signup_user()
wp-signup.php 531
$filtered_results = apply_filters( 'signup_user_init', $signup_user_defaults );

Where the hook is used (in WP core)

Does not used.