Support » Plugin: Files Addon for Event Espresso 4 » How to change upload directory

  • Hello,

    I have the same problem with mediadesk3, get a 500 error when I try that code. How did you resolve it at the end?

Viewing 1 replies (of 1 total)
  • Plugin Contributor aparnascodex



    Following is the example code to override the upload path:

    function change_upload_directory($path)
        $path['path'] = 'C:/xampp/htdocs/dev/wp-content/uploads/2019/01/';
        $path['url'] = 'http://localhost/dev/wp/2019/01/';
        return $path;
Viewing 1 replies (of 1 total)
  • The topic ‘How to change upload directory’ is closed to new replies.