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

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

Parameters

$comment_id

ID of the newly posted activity comment.

$r

Array of parsed comment arguments.

$activity

Activity item being commented on.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.