How To Allow SVG Support In WordPress

To add support for SVG image, we use the filter upload_mimes which allows to alter the list of acceptable file extensions WordPress. SVG files extension is ‘image/svg+xml’. So, you need to place below code in your functions.php file. By using the upload_mimes filter, we can also restrict the specific file format to upload in WordPress. … Continue reading How To Allow SVG Support In WordPress