WordPress\AiClient\Files\ValueObjects
MimeType::isVideo
Checks if this is a video MIME type.
Метод класса: MimeType{}
Хуков нет.
Возвращает
bool. True if this is a video type.
Использование
$MimeType = new MimeType(); $MimeType->isVideo(): bool;
Список изменений
| С версии 0.1.0 | Введена. |
Код MimeType::isVideo() MimeType::isVideo WP 7.1.2
public function isVideo(): bool
{
return $this->isType('video');
}