wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_initialize_site › WordPress Action Hooks

Since5.1.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 );