do_action( ‘wp_delete_site’, WP_Site $old_site )

In this article

Fires once a site has been deleted from the database.

Parameters

$old_siteWP_Site
Deleted site object.

Source

do_action( 'wp_delete_site', $old_site );

Changelog

VersionDescription
5.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.