preprocess_signup_form

preprocess_signup_form

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.4

do_action('preprocess_signup_form') is found 1 times:

  • /wp-signup.php line 1002
    			 * Fires when the site sign-up form is sent.
    			 *
    			 * @since 3.0.0
    			 */
    			do_action( 'preprocess_signup_form' );
    			if ( is_user_logged_in() && ( 'all' === $active_signup || 'blog' === $active_signup ) ) {
    				signup_another_blog( $newblogname );
    			} elseif ( ! is_user_logged_in() && ( 'all' === $active_signup || 'user' === $active_signup ) ) {
    				signup_user( $newblogname, $user_email );
    			} elseif ( ! is_user_logged_in() && ( 'blog' === $active_signup ) ) {
    				_e( 'Sorry, new registrations are not allowed at this time.' );