bprwg_new_member_request_admin_email_message

Filters the email text for admin when new member signs up.

Description

apply_filters( 'bprwg_new_member_request_admin_email_message', (string) $args_message, (string) $args_user_login, (string) $args_user_email ); 

Parameters (3)

0. $args_message (string)
The args message.
1. $args_user_login (string)
The args user login.
2. $args_user_email (string)
The args user email.

Usage

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

Defined (1)

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

/includes/core.php  
  1. $mod_email = apply_filters( 'bprwg_new_member_request_admin_email_message', $args['message'], $args['user_login'], $args['user_email'] );