wp_normalize_site_data WordPress Filter Hook
This hook is used to normalize site data before it is stored in the database. It can be used to modify values, remove values, or add values.
apply_filters( 'wp_normalize_site_data', array $data ) #
Filters passed site data in order to normalize it.
Parameters
- $data
(array)Associative array of site data passed to the respective function. See wp_insert_site() for the possibly included data.
Source
File: wp-includes/ms-site.php
Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |