apply_filters( 'bp_document_user_can_delete', bool $can_delete , object $document )
Filters whether the current user can delete an document item.
Description
Parameters
- $can_delete
-
Whether the user can delete the item.
- $document
-
Current document item object.
Source
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.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.