Skip to content

Instantly share code, notes, and snippets.

@stompweb stompweb/Enable SVG.php
Last active Nov 3, 2017

What would you like to do?
function stomp_mime_types($mimes) {
$mimes['svg'] = 'image/svg+xml';
return $mimes;
add_filter('upload_mimes', 'stomp_mime_types');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.