WP HOOKS
filtrod MU (3.0.0)

newblog_notify_siteadmin

Args 2Plik wp-includes/ms-functions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the message body of the new site activation email sent to the network administrator.

Parametry

ParametrTypOpis
$msgstringEmail body.
$blog_idint | stringThe new site's ID as an integer or numeric string.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'newblog_notify_siteadmin', 'twoja_funkcja', 10, 2 );

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