$site->grandChildren()
Returns a collection of all published children of published children
Return type
Parent class
Example structure
- content
- home
- about
- company
- team
- philosophy
- projects
- project-a
- project-b
- project-c
Example code
Result
The code above will give you a list like this:
- Company
- Team
- Philosophy
- Project A
- Project B
- Project C