apply_filters( 'bp_attachment_upload_dir', array $value, array $upload_dir )

Filters the component’s upload directory.


Description Description


Parameters Parameters

$value

Array containing the path, URL, and other helpful settings.

$upload_dir

The original Uploads dir.


Top ↑

Source Source

File: bp-core/classes/class-bp-attachment.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.4.0 Include the original Upload directory as the second parameter of the filter.
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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