Add SVG upload support in the media library.
<?php function ccd_mime_types($mimes) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } add_filter( 'upload_mimes', 'ccd_mime_types' ); ?>
WordPress Snippet