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.
Source Source
File: bp-core/classes/class-bp-attachment.php
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Include the original Upload directory as the second parameter of the filter. |
2.3.0 | Introduced. |