Media file rename ability reference
Reference for the GoBuildWP Free 1.22.1 source. Installed schemas and policy remain authoritative.
This Media file rename ability reference lists every call GoBuildWP Free registers for Media file rename, with the exact slug an agent sends and what the plugin's own contract says it does. Of the 1, 0 read, 0 write and 1 is marked destructive in the source.
Read-only, write and destructive groups describe the source annotations. They do not establish a minimum safety profile, human approval or undo support. Those controls are separate: check the installed ability, the connected user and the active site policy before calling it. A read can still return sensitive data. These pages are not evidence that every operation passed an end-to-end runtime test.
What Media file rename needs before these load
Media file rename ships inside GoBuildWP Free 1.22.1, so none of its 1 calls waits on a licence. Whether a connected agent sees a given call still depends on the site's safety profile and the capabilities of the user behind the credential.
Destructive Media file rename calls
| Ability | What it does |
|---|---|
gobuildwp/rename-media-fileRename Media File | Renames a media-library file for SEO or tidiness: the file, the original it was scaled from and every generated size (photo-300x200.jpg becomes new-name-300x200.jpg), the attachment's stored path and metadata, and by default its slug. With update_content (default true) it also rewrites links to those files in post content and excerpts, up to 50 posts. The extension never changes. Refused when a file with the new name exists, when the image has image-optimize copies, or when a linking post is one you cannot edit. Post meta that mentions the file (page-builder data) is listed in meta_references but not changed. Every change is one change-log group: undo the whole group. Use dry_run first to see every file and post it would touch. Destructive: renames files on disk, requires explicit confirmation unless dry_run. |