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.


add_filter( 'signup_user_init', 'filter_function_name_3480' );
function filter_function_name_3480( $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.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.