wp_get_post
Fetch the full content of a WordPress post by ID or slug. Returns raw post content from the WordPress REST API for direct use.
Instructions
Get full content of a WordPress post by ID. Returns raw content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Post ID (compatibility alias) | |
| ref | No | Post ID or slug |