do_action_ref_array( 'bp_activity_post_type_comment', int $activity_id, WP_Comment $post_type_comment, array $activity_args, object $activity_post_object )

Fires after the publishing of an activity item for a newly published post type post.

Description

Parameters

$activity_id

ID of the newly published activity item.

$post_type_comment

Comment object.

$activity_args

Array of activity arguments.

$activity_post_object

the post type tracking args object.

Source

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

Changelog

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