Home › Forums › Backend Issues (wp-admin) › Change file upload path for one specific field. › Reply To: Change file upload path for one specific field.
From everything I see in the examples by others here https://developer.wordpress.org/reference/functions/wp_upload_dir/ they are doing what you are doing. $uploads[‘path’] contains the sub directory as well.
I don’t know how it works, I think that subdir is only use if you have the media library set to group uploads by date.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.