WordPress\AiClient\Files\DTO

File::getFileTypepublicWP 0.1.0

Gets the file type.

Method of the class: File{}

No Hooks.

Returns

FileTypeEnum. The file type.

Usage

$File = new File();
$File->getFileType(): FileTypeEnum;

Changelog

Since 0.1.0 Introduced.

File::getFileType() code WP 7.0

public function getFileType(): FileTypeEnum
{
    return $this->fileType;
}