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



wp_initialize_site_args ›

Since5.1.0
已弃用n/a
apply_filters( 'wp_initialize_site_args', $args, $site, $network )
参数: (3)
  • (array) $args Arguments to modify the initialization behavior.
    Required: Yes
  • (WP_Site) $site Site that is being initialized.
    Required: Yes
  • (WP_Network) $network Network that the site belongs to.
    Required: Yes
定义在:
文档:

Filters the arguments for initializing a site.





源码

$args = apply_filters( 'wp_initialize_site_args', $args, $site, $network );