Title: WordPress REST API support ?
Last modified: March 21, 2025

---

# WordPress REST API support ?

 *  [loriantation](https://wordpress.org/support/users/loriantation/)
 * (@loriantation)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-rest-api-support/)
 * Hello,
 * I’m wondering if the Phoenix Media Rename plugin provides a REST API endpoint
   for renaming images. Is there any way to rename images using the REST API with
   this plugin, or would I need to use a specific PHP function from the plugin to
   handle this task?
 * I’ve tested using the `do_rename` function, but it doesn’t modify all the image
   metadata or all the sizes, and it causes conflicts. Can someone guide me on how
   to handle this properly through the plugin, either via the REST API or with the
   correct functions to avoid these issues?
 * Thanks in advance for your help!

Viewing 1 replies (of 1 total)

 *  Plugin Author [crossi72](https://wordpress.org/support/users/crossi72/)
 * (@crossi72)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-rest-api-support/#post-18380795)
 * Hi [@loriantation](https://wordpress.org/support/users/loriantation/),
   I never
   added a REST API endpoint, it could be a great addition, but it also could be
   tricky, I’ll add it to the issue tracker as an improvement.
 * The do_rename function works like the interactive version of the plugin, so the
   issue should arise in both cases, do you have problems only calling do_rename
   directly?
 * Thank you
   C.

Viewing 1 replies (of 1 total)

The topic ‘WordPress REST API support ?’ is closed to new replies.

 * ![](https://ps.w.org/phoenix-media-rename/assets/icon-256x256.png?rev=3120623)
 * [Phoenix Media Rename](https://wordpress.org/plugins/phoenix-media-rename/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/phoenix-media-rename/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/phoenix-media-rename/)
 * [Active Topics](https://wordpress.org/support/plugin/phoenix-media-rename/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/phoenix-media-rename/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/phoenix-media-rename/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 1 reply
 * 2 participants
 * Last reply from: [crossi72](https://wordpress.org/support/users/crossi72/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/wordpress-rest-api-support/#post-18380795)
 * Status: not resolved