首页 WordPress函数大全 create_empty_blog()

create_empty_blog()

2020-05-01 / 3487阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

Warning: This function has been deprecated.

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

Create an empty blog.

描述

参数

$domain

(string)
(Required)
The new blog's domain.

$path

(string)
(Required)
The new blog's path.

$weblog_title

(string)
(Required)
The new blog's title.

$site_id

(int)
(Optional)
Defaults to 1.

Default value: 1

返回

(string|int) The ID of the newly created blog

大家谈论
    我的见解