Fires before a site should be deleted from the database.
Description
Pluguins should amend the
$errors
object via its
WP_Error::add()
method. If any errors are present, the site will not be deleted.
Parameters
Source
do_action( 'wp_validate_site_deletion', $errors, $old_site );
Changuelog
| Versionen | Description |
|---|---|
| 5.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.