Fires after the sending of a reply to an update email notification.


do_action( 'bp_activity_sent_reply_to_update_email', (int) $tokens_original_activity_user_id, (string) $email_subject, (string) $email_content, (int) $tokens_comment_id, (int) $tokens_commenter_id, (array) $array ); 

Parameters (6)

0. $tokens_original_activity_user_id (int)
ID of the original activity item author.
1. $email_subject (string)
Email notification subject text.
2. $email_content (string)
Email notification message text.
3. $tokens_comment_id (int)
ID for the newly received comment.
4. $tokens_commenter_id (int)
ID of the user who made the comment.
5. $array (array) => array()
Removed in 2.5; now an empty array.


To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'bp_activity_sent_reply_to_update_email', $tokens_original_activity_user_id, $email_subject, $email_content, $tokens_comment_id, $tokens_commenter_id, $array ); 
The following example is for adding a hook callback.
  1. // define the bp_activity_sent_reply_to_update_email callback 
  2. function action_bp_activity_sent_reply_to_update_email( $tokens_original_activity_user_id, $email_subject, $email_content, $tokens_comment_id, $tokens_commenter_id, $array ) { 
  3. // make action magic happen here... 
  4. }; 
  6. // add the action 
  7. add_action( 'bp_activity_sent_reply_to_update_email', 'action_bp_activity_sent_reply_to_update_email', 10, 6 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'bp_activity_sent_reply_to_update_email', 'action_bp_activity_sent_reply_to_update_email', 10, 6 ); 

Defined (1)

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

  1. do_action( 'bp_activity_sent_reply_to_update_email', $tokens['original_activity.user_id'], $email_subject, $email_content, $tokens['comment.id'], $tokens['commenter.id'], array() );