Created
July 23, 2020 13:54
-
-
Save kaskad88/d44c43bdfe6d178ab91efddca33278e1 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
| add_filter( 'upload_mimes', '__add_z_zip_mime_type' ); | |
| function __add_z_zip_mime_type( $mimes ) { | |
| $mimes['xzip'] = 'application/x-zip-compressed'; | |
| return $mimes; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment