Home › Forums › ACF PRO › ACF REST api image only shows attachment id › Reply To: ACF REST api image only shows attachment id
This is resolved!
Above reply gave me some insight on how I may be able to do this creating custom filter and i thank you for that. But I realize there was a very easy fix to this. Below is the source:
so basically, if you attach ?acf_format=standard at the end of your request so it looks like the following https://localhost.local/wp-json/wp/v2/pages/45?acf_format=standard , You will get image urls or array or id, as you selected while configuring the field.
I hope this help.
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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.