Yoast\WP\SEO\Config

OAuth_Client::get()publicYoast 1.0

Performs an authenticated GET request to the desired URL.

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

Хуков нет.

Возвращает

Разное. The parsed API response.

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

$OAuth_Client = new OAuth_Client();
$OAuth_Client->get( $url, $options );
$url(строка) (обязательный)
The URL to send the request to.
$options(массив)
The options to pass along to the request.
По умолчанию: []

Код OAuth_Client::get() Yoast 22.4

public function get( $url, $options = [] ) {
	return $this->do_request( 'GET', $url, $options );
}