WordPress\AiClient\Files\ValueObjects

MimeType::isVideopublicWP 0.1.0

Checks if this is a video MIME type.

Method of the class: MimeType{}

No Hooks.

Returns

true|false. True if this is a video type.

Usage

$MimeType = new MimeType();
$MimeType->isVideo(): bool;

Changelog

Since 0.1.0 Introduced.

MimeType::isVideo() code WP 7.0

public function isVideo(): bool
{
    return $this->isType('video');
}