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.
Parameters Parameters
- $activity_id
-
(int) ID of the newly published activity item.
- $post
-
(WP_Post) Post object.
- $activity_args
-
(array) Array of activity arguments.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |