Created
April 17, 2018 18:55
-
-
Save hwkdev/8cc1e3a8f62cdbc6d5fc50a8b70696a9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <?php | |
| add_filter('upload_mimes', 'hwk_upload_mimes_types'); | |
| function hwk_upload_mimes_types($mimes){ | |
| $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