Home › Forums › Backend Issues (wp-admin) › Overwrite max upload file site with ACF custom field (or just file field) › Reply To: Overwrite max upload file site with ACF custom field (or just file field)
@hube2 thanks this seems like a solution.
I thought maybe ACF had some hooks to check if the upload is going through a file field and than you could set the max upload to the ACF max upload size on the file and else set a default, something like this https://gist.github.com/mvaneijgen/4db072899ae54ef7469519b50f5ddacc but maybe that is just wishful thinking.
Thanks again.
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.