edd_change_downloads_upload_dir()
Change Downloads Upload Directory
Description Description
Hooks the edd_set_upload_dir filter when appropriate. This function works by hooking on the WordPress Media Uploader and moving the uploading files that are used for EDD to an edd directory under wp-content/uploads/ therefore, the new directory is wp-content/uploads/edd/{year}/{month}. This directory is provides protection to anything uploaded to it.
Return Return
(void)
Source Source
File: includes/admin/upload-functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |