WordPress\AiClient\Files\DTO

File::getUrlpublicWP 0.1.0

Gets the URL for remote files.

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

Хуков нет.

Возвращает

Строку|null. The URL, or null if not a remote file.

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

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

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

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

Код File::getUrl() WP 7.0

public function getUrl(): ?string
{
    return $this->url;
}