Home › Forums › General Issues › Force an Image/File upload to a particular directory › Reply To: Force an Image/File upload to a particular directory
Re: lists disappearing… maybe not related to ACP…
I think the culprit is focused around…
elseif ($current_screen->id = 'profile') {
$params['user_id'] = get_current_user_id();
}
(If I remove that, things don’t break).
Assuming the plupload_default_params
function is getting executed on all pages (why would it?), does it maybe need a final else
condition that just return $params;
?
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.