WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

new_user_email_content хук-фильтр . WP 3.0.0

Filters the text of the email sent when a change of user email address is attempted.

The following strings have a special meaning and will get replaced dynamically:

  • USERNAME### The current user's username.

  • ADMIN_URL### The link to click on to confirm the email change.

  • EMAIL### The new email.

  • SITENAME### The name of the site.

  • SITEURL### The URL to the site.


add_filter( 'new_user_email_content', 'filter_function_name_1615', 10, 2 );
function filter_function_name_1615( $email_text, $new_user_email ){
	// filter...

	return $email_text;
Text in the email.

Data relating to the new user email address.

  • hash(строка)
    The secure hash used in the confirmation link URL.

  • newemail(строка)
    The proposed new email address.

Список изменений

С версии 3.0.0 Введена.
С версии 4.9.0 This filter is no longer Multisite specific.

Где вызывается хук

wp-includes/user.php 3088
$content = apply_filters( 'new_user_email_content', $email_text, $new_user_email );

Где используется хук в ядре WordPress

Использование не найдено.