Summery Summery
Fires when data should be validated for a site prior to inserting or updating in the database.
Syntax Syntax
Description Description
Plugins should amend the $errors object via its WP_Error::add() method.
Parameters Parameters
- $errors
- 
					Error object to add validation errors to. 
- $data
- 
					Associative array of complete site data. See wp_insert_site() for the included data. 
- $old_site
- 
					The old site object if the data belongs to a site being updated, or null if it is a new site being inserted. 
Source Source
File: wp-includes/ms-site.php
Advertisement
Changelog Changelog
| Version | Description | 
|---|---|
| 5.1.0 | Introduced. | 
