allowing svg
This commit is contained in:
parent
0de8ba687e
commit
472a68e9f2
|
|
@ -1,5 +1,19 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* ------------------------------
|
||||||
|
ENABLE SVG
|
||||||
|
------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
function cc_mime_types($mimes)
|
||||||
|
{
|
||||||
|
$mimes['svg'] = 'image/svg+xml';
|
||||||
|
return $mimes;
|
||||||
|
}
|
||||||
|
add_filter('upload_mimes', 'cc_mime_types');
|
||||||
|
|
||||||
/* ---------------------------
|
/* ---------------------------
|
||||||
PAGE D'OPTIONS DU THEME
|
PAGE D'OPTIONS DU THEME
|
||||||
---------------------------*/
|
---------------------------*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user