bp_groups_sent_mention_email

  • do_action( 'bp_groups_sent_mention_email', $usernames, $subject, $message, $content, $poster_user_id, $group_id, $activity_id )

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/deprecated/1.5.php :: Trac Source Line: 342
      			/* Send the message */
      			$to = apply_filters( 'groups_at_message_notification_to', $to );
      			$subject = apply_filters( 'groups_at_message_notification_subject', $subject, $group, $poster_name );
      			$message = apply_filters( 'groups_at_message_notification_message', $message, $group, $poster_name, $content, $message_link, $settings_link );
      
      			wp_mail( $to, $subject, $message );
      		}
      	}
      
      	do_action( 'bp_groups_sent_mention_email', $usernames, $subject, $message, $content, $poster_user_id, $group_id, $activity_id );
      }
      
      /**
       * BP 1.5 simplified notification functions a bit
       */
      function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) {
      	_deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_type()' );
      	return BP_Core_Notification::delete_for_user_by_type( $user_id, $component_name, $component_action );
      }
      

Comments are closed.