add_signup_meta

add_signup_meta

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('add_signup_meta') is found 3 times:

  • /wp-signup.php line 497
    	 *     @type int $lang_id     The language ID.
    	 *     @type int $blog_public Whether search engines should be discouraged from indexing the site. 1 for true, 0 for false.
    	 * }
    	 */
    	$meta = apply_filters( 'add_signup_meta', $meta_defaults );
    
    	$blog_id = wpmu_create_blog( $domain, $path, $blog_title, $current_user->ID, $meta, get_current_network_id() );
    
    	if ( is_wp_error( $blog_id ) ) {
    		return false;
    	}
    
  • /wp-signup.php line 682
    		return false;
    	}
    
    	/** This filter is documented in wp-signup.php */
    	wpmu_signup_user( $user_name, $user_email, apply_filters( 'add_signup_meta', array() ) );
    
    	confirm_user_signup( $user_name, $user_email );
    	return true;
    }
    
    /**
    
  • /wp-signup.php line 834
    		}
    	}
    
    	/** This filter is documented in wp-signup.php */
    	$meta = apply_filters( 'add_signup_meta', $signup_meta );
    
    	wpmu_signup_blog( $domain, $path, $blog_title, $user_name, $user_email, $meta );
    	confirm_blog_signup( $domain, $path, $blog_title, $user_name, $user_email, $meta );
    	return true;
    }