create_empty_blog


create_empty_blog ( $domain, $path, $weblog_title, $site_id = 1 )

Parameters:
  • (string) domain The new blog's domain.
  • (string) path The new blog's path.
  • (string) weblog_title The new blog's title.
  • (int) site_id Optional. Defaults to 1.
Returns:
  • (string|int) The ID of the newly created blog
Defined at:
Change Log:
  • M: U

Description

Create an empty blog.

Related Functions

restore_current_blog, wp_create_tag, __return_empty_string, create_user, maybe_create_table

Top Google Results

User discussions

wpseek mobile