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.


Top ↑

Source

File: wp-includes/ms-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.