do_action( 'bp_activity_post_type_published', int $activity_id , WP_Post $post , array $activity_args )
Fires after the publishing of an activity item for a newly published post type post.
Description Description
Parameters Parameters
- $activity_id
-
ID of the newly published activity item.
- $post
-
Post object.
- $activity_args
-
Array of activity arguments.
Source Source
File: bp-activity/bp-activity-functions.php
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |