WordPress\AiClient\Files\DTO

File::getMimeTypepublicWP 0.1.0

Gets the MIME type of the file as a string.

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

Хуков нет.

Возвращает

Строку. The MIME type string value.

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

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

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

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

Код File::getMimeType() WP 7.0

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