I’ve made a workaround by creating an extra relationship field en fill this with the childs of a second page
I trie to make multiple pages childs in a relation field… but I’m getting (no title) () as a result in de acf relation field.
function my_relationship_query($args,$field,$post)
{
// This works fine to get the childs of one page with id 225
// $args[‘post_parent’] = 225;
// I’ve tried to get childs of multiple pages 225 and 83263 this doesn’t work (no title) ()
// $args = array(‘post_type’ => ‘page’, ‘post_parent’ => array(225));
// $args = array(‘post_type’ => ‘page’, ‘post_parent__in’ => array(225, 83263));
return $args;
}
Is this a bug?