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



wp_insert_site › WordPress Action Hooks

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