Upload Directory question
-
Hi Peeps! Happy New year!
So I am having a big of a problem, currently one of our php files that we bought points to the default uploads directory for wordpress and we would like to change this to our own uploads directory.
We are still using the default uploads directory for wordpress but we want to change the directory where this custom php file uploads to.
Currently the code looks like this:
$upload_dir = wp_upload_dir(); $upload_dir['basedir'].'/downloads/encrypted/'.$item.'/*'));
It currently looks like this “www.example.com/wp-content/uploads/downloads/encrypted/”
We want it to point to “www.example.com/downloads/encrypted/”
Have looked into the arrays for
wp_upload_dir();
but cannot seem to go a folder back. Any tips or help?Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Upload Directory question’ is closed to new replies.