wpmu_create_blog Wordpress function


Description:

Create a site.


Syntax:


Arguments:

(string) $domain The new site's domain.
(string) $path The new site's path.
(string) $title The new site's title.
(int) $user_id The user ID of the new site's admin.
(array) $meta Optional. Used to set initial site options.
(int) $site_id Optional. Only relevant on multi-network installs.


Return Type:

(mixed) Returns WP_Error object on failure, int $blog_id on success


Define At:

wp-includes/ms-functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wpmu_create_blog


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×