wp_new_user_notification


wp_new_user_notification ( $user_id, $deprecated = null, $notify = '' )

Parameters:
  • (int) $user_id User ID.
  • (null) $deprecated Not used (argument deprecated).
  • (string) $notify Optional. Type of notification that should happen. Accepts 'admin' or an empty string (admin only), 'user', or 'both' (admin and user). Default empty.
Defined at:
Change Log:
  • 4: .
  • 4: .
  • 4: .

Description

Email login credentials to a newly-registered user.

A new user registration notification is also sent to admin email.

Related Functions

wp_send_new_user_notifications, wpmu_signup_user_notification, wp_new_blog_notification, wpmu_welcome_user_notification, newuser_notify_siteadmin

Top Google Results

User discussions

wpseek mobile