Hi there,
I’m using get_posts() to return case studies (custom post type), which have a relational page link or post object to clients (custom post type also).
When you create a case study you basically select which clients it relates to.
The documentation at http://www.advancedcustomfields.com/resources/filter-posts-by-custom-fields/ seems to only work when using text, textarea etc, where values are returned by the custom fields rather than objects.
I can do what I need to do in PHP but I’d rather let get_posts() handle it if it’s possible?
Thanks for reading my post and I appreciate any help/responses.
Mike
Hi @gritdigital_mibu,
Thanks for the post.
I don’t think it will be possible to perform WP object query using the get_posts() function by filtering using objects.