do_action( 'bp_activity_post_type_unpublished', array $delete_activity_args , WP_Post $post , bool $activity )
Fires after the unpublishing for the custom post type.
Description
Parameters
- $delete_activity_args
-
Array of arguments for activity deletion.
- $post
-
Post object.
- $activity
-
Whether or not the activity was successfully deleted.
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.