wp_normalize_site_data filter-hook . WP 5.1.0
Filters passed site data in order to normalize it.
Usage
add_filter( 'wp_normalize_site_data', 'filter_function_name_8492' ); function filter_function_name_8492( $data ){ // filter... return $data; }
- $data(array)
- Associative array of site data passed to the respective function. See {@see wp_insert_site()} for the possibly included data.
Changelog
Since 5.1.0 | Introduced. |
Where the hook is called
wp_normalize_site_data
wp-includes/ms-site.php 498
$data = apply_filters( 'wp_normalize_site_data', $data );
Where in WP core the hook is used WordPress
wp-includes/ms-site.php 43
add_filter( 'wp_normalize_site_data', 'wp_normalize_site_data', 10, 1 );