preprocess_signup_form

preprocess_signup_form

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('preprocess_signup_form') is found 1 times:

  • /wp-signup.php line 1002
    0998
    0999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    * 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.' );