populate_network_meta()
populate_network_meta( int $network_id, array $meta = array() )
创建WordPress网络元并设置默认值。
Creates WordPress network meta and sets the default values.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$network_id | (int) | 必需 | 要为其填充元的网络ID。 |
$meta | (array) | 可选 | 自定义meta$key=>$要使用的值对。 |
返回(Return)
无返回值
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.1.0 | wp-admin/includes/schema.php:1116 | 1 function | 20 |
populate_network_meta() 为WP2原创文章,链接:https://www.wp2.cn/functions/populate_network_meta/