Home › Forums › General Issues › How to show ACF fields on WooCommerce Checkout page › Reply To: How to show ACF fields on WooCommerce Checkout page
You can only access the file’s name and a few other properties after it already has been uploaded, using the $_FILES superglobal on your PHP script.
You then have to complete the upload process by moving/renaming the uploaded file (which is stored in a temporary folder) into your chosen directory, otherwise it will be automatically deleted by PHP at the end of the script.
You can also use a built-in WordPress function:
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!
© 2022 Advanced Custom Fields.