WordPress at Your Fingertips
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.


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

	return $signup_user_defaults;

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.


Since 3.0.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.