WordPress\AiClient\Files\DTO

File::getUrlpublicWP 0.1.0

Gets the URL for remote files.

Method of the class: File{}

No Hooks.

Returns

String|null. The URL, or null if not a remote file.

Usage

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

Changelog

Since 0.1.0 Introduced.

File::getUrl() code WP 7.0

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