wpmu_signup_user_notification_email

The WordPress Core wpmu signup user notification email hook.

Description

add_filter( 'wpmu_signup_user_notification_email', (string) $admin_created_user_email ); 

Parameters (1)

0. $admin_created_user_email (string) => 'admin_created_user_email'
The admin created user email.

Usage

To run the hook, copy the example below.
  1. $admin_created_user_email = apply_filters( 'wpmu_signup_user_notification_email', $admin_created_user_email ); 
  2.  
  3. if ( !empty( $admin_created_user_email ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the wpmu_signup_user_notification_email callback 
  2. function filter_wpmu_signup_user_notification_email( $admin_created_user_email ) { 
  3. // make filter magic happen here... 
  4. return $admin_created_user_email
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'wpmu_signup_user_notification_email', 'filter_wpmu_signup_user_notification_email', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'wpmu_signup_user_notification_email', 'filter_wpmu_signup_user_notification_email', 10, 1 ); 

Defined (2)

The filter is defined in the following location(s).

/wp-admin/user-new.php  
  1. add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' ); 
/wp-includes/ms-functions.php  
  1. apply_filters( 'wpmu_signup_user_notification_email',