WordPress开发者和主题制作者的搜索引擎



populate_site_meta ›

Since5.2.0
已弃用n/a
apply_filters( 'populate_site_meta', $meta, $site_id )
参数: (2)
  • (array) $meta Associative array of site meta keys and values to be inserted.
    Required: Yes
  • (int) $site_id ID of site to populate.
    Required: Yes
定义在:
文档:

Filters meta for a site on creation.





源码

$site_meta = apply_filters( 'populate_site_meta', $meta, $site_id );