<?php
/**
* Fires when hidden sign-up form fields output when creating another site or user.
*
* @since MU (3.0.0)
*
* @param string $context A string describing the steps of the sign-up process. The value can be
* 'create-another-site', 'validate-user', or 'validate-site'.
*/
do_action( 'signup_hidden_fields', 'create-another-site'
);
?>
<?php
show_blog_form( $blogname,
$blog_title,
$errors ); ?>
<p class="submit"><input type="submit" name="submit" class="submit" value="<?php
esc_attr_e( 'Create Site'
); ?>" /></p>
</form>
<?php
}/**
* Validates a new site sign-up for an existing user.
*
* @since MU (3.0.0)
*
* @global string $blogname The new site's subdomain or directory name.
* @global string $blog_title The new site's title.
* @global WP_Error $errors Existing errors in the global scope.
* @global string $domain The new site's domain.
* @global string $path The new site's path.
*
* @return null|bool True if site signup was validated, false on error.
* The function halts all execution if the user is not logged in.
*/