Added WebP support, at allowed_image_mime_types

This commit is contained in:
Anastasio 2023-03-21 22:44:14 +02:00 committed by GitHub
parent f2cd586b22
commit bd2de5ff60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ function wc_rest_allowed_image_mime_types() {
'bmp' => 'image/bmp',
'tiff|tif' => 'image/tiff',
'ico' => 'image/x-icon',
'webp' => 'image/webp',
)
);
}