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.
Parameters Parameters
- $delete_activity_args
-
(array) Array of arguments for activity deletion.
- $post
-
(WP_Post) Post object.
- $activity
-
(bool) Whether or not the activity was successfully deleted.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |