New answers tagged

0

Have you already looked at get_page_children? you need to pass the id of the child page and the $children_posts to it and it will return all childpages of it... what you need is: child-1->ID and an array with child-1, child-2 and so on



Top 50 recent answers are included