confirm_another_blog_signup example


    $meta = apply_filters( 'add_signup_meta', $meta_defaults );

    $blog_id = wpmu_create_blog( $domain$path$blog_title$current_user->ID, $metaget_current_network_id() );

    if ( is_wp_error( $blog_id ) ) {
        return false;
    }

    confirm_another_blog_signup( $domain$path$blog_title$current_user->user_login, $current_user->user_email, $meta$blog_id );
    return true;
}

/** * Shows a message confirming that the new site has been created. * * @since MU (3.0.0) * @since 4.4.0 Added the `$blog_id` parameter. * * @param string $domain The domain URL. * @param string $path The site root path. * @param string $blog_title The site title. * @param string $user_name The username. * @param string $user_email The user's email address. * @param array $meta Any additional meta from the {@see 'add_signup_meta'} filter in validate_blog_signup(). * @param int $blog_id The site ID. */
Home | Imprint | This part of the site doesn't use cookies.