WordPress\AiClient\Providers\ApiBasedImplementation

AbstractApiProvider::baseUrlprotected staticWP 0.2.0

Gets the base URL for the provider's API.

The base URL should include the protocol and domain, and may include the API version path (e.g., "https://api.example.com/v1").

Method of the class: AbstractApiProvider{}

No Hooks.

Returns

String. The base URL for the provider's API.

Usage

$result = AbstractApiProvider::baseUrl(): string;

Changelog

Since 0.2.0 Introduced.

AbstractApiProvider::baseUrl() code WP 7.0

abstract protected static function baseUrl(): string;