We’re trying to output a list of posts that have any of the current page children selected in a specific post_object field.
Eg:
Parent
– Child 1
– Child 2
Shortcode used in “Parent” page which shows any post that has “Child 1” or “Child 2” selected in a post_object field.
I thought it would be pretty simple using get_children() to get the list of relevant IDs but I’m not having much success.