The above code doesn’t work, I tried to fix it but it still doesn’t work
add_filter('webp_uploads_upload_image_mime_transforms', function($transforms) {
$transforms['image/png'] = 'image/webp';
return $transforms;
});
-
This reply was modified 12 months ago by Dao Anh.