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

(int) ID of the newly published activity item.

$post_type_comment

(WP_Comment) Comment object.

$activity_args

(array) Array of activity arguments.

$activity_post_object

(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.