Return an array of ID's
-
Hi
Can anyone tell me how to return an array of ID’s of root (top level) Pages only.
So if I’ve got the following structure, I just want to return the ID’s of pages in bold (Test 1, Test 2, Test 3, Test 4, Test 5):
Test 1
–child1
–child2
–grandchild1
–grandchild2
–child3
Test 2
–child4
–child5
–grandchild1
Test 3
Test 4
–child6
Test 5So, not parents of children/grandchildren, but actually top level pages.
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Return an array of ID's’ is closed to new replies.