Summery Summery
Get the MIME type for a file extension.
Syntax Syntax
Parameters Parameters
- $ext
-
(Optional) File extension
Default value: ''
Return Return
(string) MIME type of file.
Source Source
File: wp-includes/class-phpmailer.php
Developer Resources, Tips, Tricks, Tutorials and Much more.
Get the MIME type for a file extension.
(Optional) File extension
Default value: ''
(string) MIME type of file.
File: wp-includes/class-phpmailer.php