Yoast\WP\SEO\Config
OAuth_Client::get()
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() OAuth Client::get Yoast 24.1
public function get( $url, $options = [] ) { return $this->do_request( 'GET', $url, $options ); }