wphooks.info - wpmu_validate_user_signup

wpmu_validate_user_signup

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/ms-functions.php:
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
	 *
	 * @param array $result {
	 *     The array of user name, email and the error messages.
	 *
	 *     @type string   $user_name     Sanitized and unique username.
	 *     @type string   $orig_username Original username.
	 *     @type string   $user_email    User email address.
	 *     @type WP_Error $errors        WP_Error object containing any errors found.
	 * }
	 */
	return apply_filters( 'wpmu_validate_user_signup', $result );
}

/**
 * Processes new site registrations.
 *
 * Checks the data provided by the user during blog signup. Verifies
 * the validity and uniqueness of blog paths and domains.
 *
 * This function prevents the current user from registering a new site