• I’d like to use the get_pages function to return an array of the pages on my WordPress install, but I only want the top-level pages, not their children. How can I do this?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘get_pages but only top-level pages’ is closed to new replies.