Summery Summery
Fires before a site should be deleted from the database.
Syntax Syntax
Description Description
Plugins should amend the $errors
object via its WP_Error::add()
method. If any errors are present, the site will not be deleted.
Parameters Parameters
- $errors
-
Error object to add validation errors to.
- $old_site
-
The site object to be deleted.
Source Source
File: wp-includes/ms-site.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |