Removed previously added unnecessary filter

This commit is contained in:
Anastasio 2023-03-23 19:29:56 +02:00 committed by GitHub
parent bd2de5ff60
commit e901ec1672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -2583,14 +2583,3 @@ function wc_cache_get_multiple( $keys, $group = '', $force = false ) {
}
return $values;
}
/**
* Enable WebP images in WooCommerce.
*
* WebP files should be able to be imported in WooCommerce, as they've been supported in WordPress core since v5.8.
*/
function more_mimes_to_exts( $mime_to_ext ){
$mime_to_ext['webp'] = 'image/webp';
return $mime_to_ext;
}