WordPress\AiClient\Files\DTO
File::getMimeType
Gets the MIME type of the file as a string.
Method of the class: File{}
No Hooks.
Returns
String. The MIME type string value.
Usage
$File = new File(); $File->getMimeType(): string;
Changelog
| Since 0.1.0 | Introduced. |
File::getMimeType() File::getMimeType code WP 7.0
public function getMimeType(): string
{
return (string) $this->mimeType;
}