• 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 Imagecrossi72

    (@crossi72)

    Hi @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.