There are several ways to achieve the goal but I guess this one is the most efficient and quickest due to fact it uses WordPress’ built-in recursive function called “get_page_children”. What this function actually does? It matches against the pages parameter against the page ID and in the same time matches all children for the READ MORE