0

I would like to store all featured images for my custom post type in a different directory/folder, & for all the other images used in the custom post type to be stored in the standard place. Is this possible?

1 Answer 1

-1

there is a similar question here: Post type specific upload folder in 3.5

Just add an IF case whenever the wanted post type is the one you want to be in another folder, if not, return the directory given by the filter.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.