Home › Forums › ACF PRO › Own custom field type to upload files › Reply To: Own custom field type to upload files
Hi @skrabbel
I’m afraid I don’t understand your question, so please forgive me if I’m wrong.
If you use a file field type and acf/save_post
to modify the value to something else other than ID, ACF won’t recognize it as a file and the backend will show the field as empty.
If you need to upload the files but don’t want it to show up in the media library, maybe you can upload it manually by using a PHP code? This page should give you more idea about it: http://www.w3schools.com/php/php_file_upload.asp, http://php.net/manual/en/features.file-upload.php.
I hope this makes sense 🙂
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.