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