2020-05-02 / 2266阅 / 悠然
填充网络设置。
(int)
(Optional)
ID of network to populate.
Default value: 1
(string)
(Optional)
The domain name for the network (eg. "example.com").
Default value: ''
(string)
(Optional)
Email address for the network administrator.
Default value: ''
(string)
(Optional)
The name of the network.
Default value: ''
(string)
(Optional)
The path to append to the network's domain name.
Default value: '/'
(bool)
(Optional)
Whether the network is a subdomain installation or a subdirectory installation. Default false, meaning the network is a subdirectory installation.
Default value: false
(bool|WP_Error) True>WP_Error on warning (with the installation otherwise successful, so the error code must be checked) or failure.