wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_validate_site_deletion › WordPress Action Hooks
Since5.1.0
Deprecatedn/a
› do_action( 'wp_validate_site_deletion', $errors, $old_site )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Fires before a site should be deleted from the database.
Plugins should amend the $errors
object via its WP_Error::add()
method. If any errors
are present, the site will not be deleted.
Related Functions: wp_validate_site_data, update_site_option, wp_validate_boolean, wp_validate_user_request_key, wp_validate_redirect, wp_load_core_site_options
Related Hooks: wp_validate_site_data, update_site_option, wp_normalize_site_data, wp_update_site, add_site_option