WP HOOKS
filtrod MU (3.0.0)

wpmu_signup_blog_notification_email

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

Opis — z kodu źródłowego

Filters the message content of the new blog notification email.

Content should be formatted for transmission via wp_mail().

Parametry

ParametrTypOpis
$contentstringContent of the notification email.
$domainstringSite domain.
$pathstringSite path.
$titlestringSite title.
$user_loginstringUser login name.
$user_emailstringUser email address.
$keystringActivation key created in wpmu_signup_blog().
$metaarraySignup meta data. By default, contains the requested privacy setting and lang_id.

Wywołanie

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

function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5, $param_6, $param_7, $param_8) {
	// Twój kod
}