Yoast\WP\SEO\AI\HTTP_Request\Infrastructure

API_Client_Interface::get_urlpublicYoast 1.0

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

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

Хуков нет.

Возвращает

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

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

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

Код API_Client_Interface::get_url() Yoast 28.3

public function get_url( string $action_path ): string;