WP HOOKS
filtrod 5.1.0

wp_normalize_site_data

Args 1Plik wp-includes/ms-site.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters passed site data in order to normalize it.

Parametry

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

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_normalize_site_data', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}