Easy Digital Downloads
  • Package
  • Function
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Functions

  • edd_change_downloads_upload_dir
  • edd_create_protection_files
  • edd_scan_folders
  • edd_set_upload_dir

Function edd_change_downloads_upload_dir

Change Downloads Upload Directory

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.

Package: EDD\Admin\Upload
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Located at includes/admin/upload-functions.php
Easy Digital Downloads API documentation generated by ApiGen 2.8.0