Is there a way I can filter the post object data (in the dropdown) to a certain post type or page id/name
Can’t seem to fathom how to do this in the code
thanks
Hi @chrisallen76
Yep. The post object field contains a filter which you can hook into and modify the query arguments.
Read more here:
http://www.advancedcustomfields.com/resources/filters/acf-fields-post_object-query/
Thanks
E
thanks Elliot, got it working beautifully now