WordPress\AiClient\Files\DTO

File::getMimeType │ public │ WP 0.1.0

Gets the MIME type of the file as a string.

Метод класса: File{}

Хуков нет.

Возвращает

string. The MIME type string value.

Использование

$File = new File();
$File->getMimeType(): string;

Список изменений

С версии 0.1.0 Введена.

Код File::getMimeType() WP 7.1.2

public function getMimeType(): string
{
    return (string) $this->mimeType;
}