insert_blog Wordpress function


Description:

Store basic site info in the blogs table.


Syntax:


Arguments:

(string) $domain The domain of the new site.
(string) $path The path of the new site.
(int) $site_id Unless you're running a multi-network install, be sure to set this value to 1.


Return Type:

(int) The ID of the new row


Define At:

wp-includes/ms-functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/insert_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 ×