apply_filters( 'bp_attachment_upload_dir', array $value , array $upload_dir )
Filters the component’s upload directory.
Description
Parameters
- $value
-
Array containing the path, URL, and other helpful settings.
- $upload_dir
-
The original Uploads dir.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.4.0 Include the original Upload directory as the second parameter of the filter. | BuddyPress 2.4.0 Include the original Upload directory as the second parameter of the filter. |
BuddyPress 2.3.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.