Enable SVG upload in WordPress

Description and placement:

This code will enable SVG upload in WordPress. Place this code in functions.php in your child theme directory.

PHP