apply_filters( 'bp_activity_user_can_delete', bool $can_delete , object $activity )
Filters whether the current user can delete an activity item.
Parameters Parameters
- $can_delete
-
(bool) Whether the user can delete the item.
- $activity
-
(object) Current activity item object.
Source Source
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |