do_action( 'bp_blogs_sync_add_from_activity_comment', int $comment_id, array $args, object $parent_activity, object $user )

Fires after activity comments have been synced and posted as blog comments.

Description

Parameters

$comment_id

(int) The activity ID for the posted activity comment.

$args

(array) Array of args used for the comment syncing.

$parent_activity

(object) Parameters of the blog post parent activity item.

$user

(object) User data object for the blog comment.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.0.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.