wp_pages_list
List WordPress pages by status, author, or parent, with sorting and pagination. Use parent=N to get direct children or parent=0 for top-level pages.
Instructions
List pages with filters. Pages support a hierarchy via parent (use parent=N to list direct children of page N, parent=0 for top-level). Default orders by menu_order ascending — the typical navigation order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| order | No | asc | |
| author | No | ||
| parent | No | ||
| search | No | ||
| status | No | publish | |
| orderby | No | menu_order | |
| per_page | No |