WPDev.one
Core Function
View Source on Trac ↗

wp_normalize_site_data()

wp_normalize_site_data( mixed $data )

Normalizes data for a site prior to inserting or updating in the database.

Parameters 1 required

Name / Type Description
array

$data Associative array of site data passed to the respective function. See {@see wp_insert_site()} for the possibly included data.

Required

Return Value

(array)
Normalized site data.

Function Information

Since Version
5.1.0
Source File
wp-includes/ms-site.php
Advertisement