Get post
wp_get_postGet one post or page by ID: title, content, status, dates and permalink. Set content_format to "prose" to return the text without block markup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ID | Yes | ||
| content_format | No | full (default) returns raw content; prose strips block-attribute JSON, keeping prose, headings and block markers. |