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)


Top ↑

Source Source

File: includes/admin/upload-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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