📜  将 svg 上传到 wordpress - Html 代码示例

📅  最后修改于: 2022-03-11 14:52:58.106000             🧑  作者: Mango

代码示例1
function cc_mime_types($mimes) {
 $mimes['svg'] = 'image/svg+xml';
 return $mimes;
}
add_filter('upload_mimes', 'cc_mime_types');