Home › Forums › Backend Issues (wp-admin) › Change file upload path for one specific field. › Reply To: Change file upload path for one specific field.
I can’t say why it’s not changing the upload path. What type of field is it? Is it a sub field of a repeater or flex field?
If you want them in the root of the site then you’ll need to mess with the lines that set the path, to be honest I don’t remember what’s in the $uploads variable or what you need to change.
$uploads[‘path’] = $uploads[‘basedir’].’/profiles/’;
$uploads[‘url’] = $uploads[‘baseurl’].’/profiles/’;
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.