WordPress\AiClient\Files\DTO

File::isRemotepublicWP 0.1.0

Checks if the file is a remote file.

Method of the class: File{}

No Hooks.

Returns

true|false. True if the file is remote (URL).

Usage

$File = new File();
$File->isRemote(): bool;

Changelog

Since 0.1.0 Introduced.

File::isRemote() code WP 7.0

public function isRemote(): bool
{
    return $this->fileType->isRemote();
}