bricks_wp_list_posts
Filter and list WordPress posts by status, search, categories, tags, and more. Returns key post data for content auditing and updates.
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 |