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?


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.

  • This IMHO should be a comment. – Nicolai May 12 '15 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.