Added WebP support, at allowed_image_mime_types
This commit is contained in:
parent
f2cd586b22
commit
bd2de5ff60
|
@ -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',
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue