apply_filters( 'bp_attachments_pre_delete_file', bool $value , array $args )
Filters whether or not to handle deleting an existing BuddyPress attachment.
Description Description
If you want to override this function, make sure you return false.
Parameters Parameters
- $value
-
(bool) Whether or not to delete the BuddyPress attachment.
- $args
-
(array) Array of arguments for the attachment deletion.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.5.1 | Introduced. |