Save list of pages urls to array, then cycle through perch_content_custom

  • Hello,


    My aim is to run perch_content_custom for all pages within a certain area of the site.


    I can get a list of all the page urls from perch_pages_navigation, how do I loop those each one of those urls through perch_content_custom?


    The end goal is to generate a menu using information within the regions of those pages.

  • I've found the answer somewhere else: