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
Parameters
- $activity_id
-
ID of the newly published activity item.
- $post
-
Post object.
- $activity_args
-
Array of activity arguments.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.2.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.