wp_new_user_notification_email_admin

Advertisement

Summery Summery

Filters the contents of the new user notification email sent to the site admin.

Syntax Syntax

apply_filters( 'wp_new_user_notification_email_admin', array $wp_new_user_notification_email_admin, WP_User $user, string $blogname )

Parameters Parameters

$wp_new_user_notification_email_admin

(array) Used to build wp_mail().

  • 'to'
    (string) The intended recipient - site admin email address.
  • 'subject'
    (string) The subject of the email.
  • 'message'
    (string) The body of the email.
  • 'headers'
    (string) The headers of the email.

$user

(WP_User) User object for new user.

$blogname

(string) The site title.

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.