[wp-hackers] easy way to change upload directory

Chris McCoy chris at lod.com
Sun Oct 14 03:44:32 UTC 2012


I noticed with wp 3.5 it doesn't allow you to pick your upload directory
anymore if you want something out of the wp-content/uploads

What would be the best way to set this, I came across an undefined constant
UPLOADS which seems to work, also the upload_dir filter.

Difference between the two is one is just a constant other I would need a
plugin or code added to functions.php

These the only two ways?




More information about the wp-hackers mailing list