wp_media_get
Fetch a WordPress media item by ID, returning all metadata: dimensions, file size, thumbnails, alt text, caption, and attached post.
Instructions
Fetch a single media item by id with all metadata: dimensions, file size, thumbnails, alt text, caption, attached post.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| context | No | edit |