A WordPress-centric search engine for devs and theme authors



wp_initialize_site ›

Since5.0.0
Deprecatedn/a
do_action( 'wp_initialize_site', $new_site, $args )
Parameters: (2)
  • (WP_Site) $new_site New site object.
    Required: Yes
  • (array) $args Arguments for the initialization.
    Required: Yes
Defined at:
Codex:

Fires when a site's initialization routine should be executed.





Source

do_action( 'wp_initialize_site', $new_site, $args );