A WordPress-centric search engine for devs and theme authors



wp_insert_site ›

Since5.0.0
Deprecatedn/a
do_action( 'wp_insert_site', $new_site )
Parameters:
  • (WP_Site) $new_site New site object.
    Required: Yes
Defined at:
Codex:

Fires once a site has been inserted into the database.





Source

do_action( 'wp_insert_site', $new_site );