bp_groups_sent_mention_email

The BuddyPress bp groups sent mention email hook.

Description

do_action( 'bp_groups_sent_mention_email', (string) $usernames, (unknown) $subject, (unknown) $message, (unknown) $content, (unknown) $poster_user_id, (unknown) $group_id, (unknown) $activity_id ); 

Parameters (7)

0. $usernames (string)
The usernames.
1. $subject (unknown)
The subject.
2. $message (unknown)
The message.
3. $content (unknown)
The content.
4. $poster_user_id (unknown)
The poster user id.
5. $group_id (unknown)
The group id.
6. $activity_id (unknown)
The activity id.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'bp_groups_sent_mention_email', $usernames, $subject, $message, $content, $poster_user_id, $group_id, $activity_id ); 
The following example is for adding a hook callback.
  1. // define the bp_groups_sent_mention_email callback 
  2. function action_bp_groups_sent_mention_email( $usernames, $subject, $message, $content, $poster_user_id, $group_id, $activity_id ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'bp_groups_sent_mention_email', 'action_bp_groups_sent_mention_email', 10, 7 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'bp_groups_sent_mention_email', 'action_bp_groups_sent_mention_email', 10, 7 ); 

Defined (1)

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

/bp-core/deprecated/1.5.php  
  1. do_action( 'bp_groups_sent_mention_email', $usernames, $subject, $message, $content, $poster_user_id, $group_id, $activity_id );