WordPress\AiClient\Providers\DTO

ProviderMetadata::getIdpublicWP 0.1.0

Gets the provider's unique identifier.

Method of the class: ProviderMetadata{}

No Hooks.

Returns

String. The provider ID.

Usage

$ProviderMetadata = new ProviderMetadata();
$ProviderMetadata->getId(): string;

Changelog

Since 0.1.0 Introduced.

ProviderMetadata::getId() code WP 7.0

public function getId(): string
{
    return $this->id;
}