Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function allow_excel_mime_types( $mimes ) {
- $mimes['xls|xlsx'] = 'application/vnd.ms-excel';
- return $mimes;
- }
- add_filter( 'mime_types', 'allow_excel_mime_types' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement