wp_media_update
Update only the specified attributes of a WordPress media item: title, alt text, caption, description, attached post, slug, or status, leaving others unchanged.
Instructions
Generic partial update of media item fields: title, alt_text, caption, description, attached post, slug, status. Use wp_media_set_alt_text for the focused alt+caption+description tool when that's all you need.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| post | No | ||
| slug | No | ||
| title | No | ||
| status | No | ||
| caption | No | ||
| alt_text | No | ||
| description | No |