BP_Attachment_Cover_Image::upload_dir_filter( array $upload_dir = array() )
Set the directory when uploading a file.
Description
Parameters
- $upload_dir
-
(Optional) The original Uploads dir.
Default value: array()
Return
(array) $value Upload data (path, url, basedir...).
Source
File: bp-core/classes/class-bp-attachment-cover-image.php
public function upload_dir_filter( $upload_dir = array() ) { return bp_attachments_cover_image_upload_dir(); }
Changelog
Version | Description |
---|---|
BuddyPress 2.4.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.