do_action( 'bp_activity_comment_posted', int $comment_id, array $r, BP_Activity_Activity $activity )

Fires near the end of an activity comment posting, before the returning of the comment ID.

Description Description

Sends a notification to the user @see bp_activity_new_comment_notification_helper().

Top ↑

Parameters Parameters


(int) ID of the newly posted activity comment.


(array) Array of parsed comment arguments.


(BP_Activity_Activity) Activity item being commented on.

Source Source

File: bp-activity/bp-activity-functions.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.