“I have a problem with uploading webp images to woocommerce. I get the error: Sorry, this file type is not permitted for security reasons.”Change the following values to your own.File /plugins/woocommerce/includes/wc-rest-functions.phpAdd the following code 'webp' => 'image/webp', to the function wc_get_endpoint_url: