WordPress\AiClient\Files\DTO

File::getBase64Data │ public │ WP 0.1.0

Gets the base64-encoded data for inline files.

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

Хуков нет.

Возвращает

string|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.1.2

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