update_media
Update metadata like title, slug, or author of a media file in WordPress by providing at least one field to modify.
Instructions
Update the metadata of a media file in WordPress site.
At least one field must be provided to update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | New slug for the media file - default: None | |
| title | No | New title for the media file - default: None | |
| media_id | Yes | The ID of the media file | |
| author_id | No | New author ID for the media file - default: None |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||