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

Whether or not to delete the BuddyPress attachment.

$args

Array of arguments for the attachment deletion.


Top ↑

Source Source

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


Top ↑

Changelog 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.