WP HOOKS
filtrod MU (3.0.0)

newuser_notify_siteadmin

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

Opis — z kodu źródłowego

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

Parametry

ParametrTypOpis
$msgstringEmail body.
$user\WP_UserWP_User instance of the new user.

Wywołanie

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

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