A WordPress-centric search engine for devs and theme authors



wp_initialize_site_args ›

Since5.0.0
Deprecatedn/a
apply_filters( 'wp_initialize_site_args', $args, $site, $network )
Parameters: (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
Defined at:
Codex:

Filters the arguments for initializing a site.





Source

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