WordPress Page Hierarchy
-
Hi WordPressers,
I’m really surprised this isn’t already on the internet, but I have spent hours and hours searching with no luck. I need to create an array (or object) of all the pages in my site, as a page tree. I have tried making a recursive function but it never works out perfectly. If anyone has an example or can help point me in the right direction, it would be greatly appreciated.
Thanks!
- The topic ‘WordPress Page Hierarchy’ is closed to new replies.