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


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. Commented May 12, 2015 at 13:31

Your Answer

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