.webp – woocommerce api images in webp

Question

wordpress now supports webp, if I upload to media file a .webp image I can use it in the woocommerce product, and displays it perfectly. however I am using woocommerce API to do this for me, once wc API doesnt upload images, I use wordpress API to do it, then retrieve the image path. now when updating or inserting a product with wc API I just send the path using the wc API. thats all normal and it is working perfectly. But if I try to use .webp images, wp API uploads the image, however wc API that sends only the image path(link) doesnt accept .webp, is this normal, is wc API not accepting yet webp images format?

0
tiago calado 1 month 2021-10-25T17:38:09-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse