Home › Forums › ACF PRO › Image Field Array › Reply To: Image Field Array
The only thing that ACF stores is the ID of the image.
When getting the data ACF calls WP functions so this is what WP is returning. This means that somewhere on your site WP is finding the production URL for the site.
'url' => wp_get_attachment_url( $attachment->ID ),
'link' => get_attachment_link( $attachment->ID ),
https://developer.wordpress.org/reference/functions/wp_get_attachment_url/
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.