Yoast\WP\SEO\AI\HTTP_Request\Infrastructure

API_Client::get_urlpublicYoast 1.0

Builds the full URL for a request to the AI API, applying the same filter perform_request() uses.

Метод класса: API_Client{}

Хуков нет.

Возвращает

Строку. The full URL for the request.

Использование

$API_Client = new API_Client();
$API_Client->get_url( $action_path ): string;
$action_path(строка) (обязательный)
The action path for the request.

Код API_Client::get_url() Yoast 28.3

public function get_url( string $action_path ): string {
	return $this->get_base_url() . $action_path;
}