WordPress\AiClient\Providers\Models\DTO

ModelMetadata::getNamepublicWP 0.1.0

Gets the model's display name.

Method of the class: ModelMetadata{}

No Hooks.

Returns

String. The model name.

Usage

$ModelMetadata = new ModelMetadata();
$ModelMetadata->getName(): string;

Changelog

Since 0.1.0 Introduced.

ModelMetadata::getName() code WP 7.0

public function getName(): string
{
    return $this->name;
}