bricks_wp_list_posts
List WordPress posts with filters by status, categories, tags, and search to audit content or find posts to update.
Instructions
List WordPress posts with filtering. Returns ID, title, status, date, author, categories. Use for content auditing or finding posts to update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| tags | No | Filter by tag IDs | |
| order | No | asc or desc (default: desc) | |
| search | No | Search term in title/content | |
| status | No | Post status: publish, draft, pending, private, any (default: publish) | publish |
| orderby | No | Order by: date, title, modified, id (default: date) | |
| per_page | No | Results per page (max 100, default 20) | |
| categories | No | Filter by category IDs |