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



wp_delete_site › WordPress Action Hooks

Since5.1.0
Deprecatedn/a
do_action( 'wp_delete_site', $old_site )
Parameters:
  • (WP_Site) $old_site Deleted site object.
    Required: Yes
Defined at:
Codex:

Fires once a site has been deleted from the database.





Source

do_action( 'wp_delete_site', $old_site );