-
-
Save aksamitnaya/97447245bb14e17a83ffa4f9bb35c4e9 to your computer and use it in GitHub Desktop.
This file contains 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
add_filter( 'cherry_customizer_get_image_types', 'monstroid2_cherry_customizer_add_svg_mime_type' ); | |
function monstroid2_cherry_customizer_add_svg_mime_type( $mimes = array() ) { | |
$mimes['svg'] = 'image/svg+xml'; | |
return $mimes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment