WordPress\AiClient\Files\DTO

File::getBase64DatapublicWP 0.1.0

Gets the base64-encoded data for inline files.

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

Хуков нет.

Возвращает

Строку|null. The plain base64-encoded data (without data URI prefix), or null if not an inline file.

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

$File = new File();
$File->getBase64Data(): ?string;

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

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

Код File::getBase64Data() WP 7.0

public function getBase64Data(): ?string
{
    return $this->base64Data;
}