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

wpmu_create_blog, restore_current_blog, wp_create_tag, __return_empty_string, remove_user_from_blog

Top Google Results

User discussions

wpseek mobile