Created
March 11, 2019 13:16
-
-
Save ahmedghazi/7cf510a5585865c7aea7d804ba0c7243 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Autoriser les fichiers SVG */ | |
function wpc_mime_types($mimes) { | |
$mimes['svg'] = 'image/svg+xml'; | |
return $mimes; | |
} | |
add_filter('upload_mimes', 'wpc_mime_types'); | |
+ ajouter au svg | |
<?xml version="1.0" encoding="utf-8"?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment