SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function allow_excel_mime_types( $mimes ) {
  2.     $mimes['xls|xlsx'] = 'application/vnd.ms-excel';
  3.     return $mimes;
  4. }
  5. add_filter( 'mime_types', 'allow_excel_mime_types' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top