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.

Top ↑

Parameters Parameters


(bool) Whether or not to delete the BuddyPress attachment.


(array) Array of arguments for the attachment deletion.

Source Source

File: bp-core/bp-core-attachments.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.5.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.