Changing upload directory per content type stopped working at 2.1
-
Hi,
I change the upload folder from my own plugin based on the content type to which the image is being attached. I use wp_handle_upload_prefilter and upload_dir hooks to run my code that modifies the array containing the paths.With the newest (2.1.1) Big File Uploads version wp_handle_upload_prefilter is not fired. What has changed? How can I create the the same functionality in the new version? I went back to 2.0.3, and it works.
Regards,
Tibor
- The topic ‘Changing upload directory per content type stopped working at 2.1’ is closed to new replies.