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?