10
Jul
WordPress File upload failure: Sorry this file extension is not permitted for security reasons
in Wordpress
Comments
Add Additional Mime Types in functions.php add_filter(‘upload_mimes’,’add_custom_mime_types’); function add_custom_mime_types($mimes){ return array_merge($mimes,array ( ‘eps’ => ‘application/eps’, ‘jpg’ => ‘image/jpg’, ‘png’ => ‘image/png’, ‘jpeg’ => ‘image/jpeg’, ‘pdf’ => ‘application/pdf’, ‘doc’ => ‘application/doc’, ‘docx’ => ‘application/vnd.openxmlformats-officedocument.wordprocessingml.document’, ‘gif’ => ‘image/gif’, )); }...
Read More