WPSEO_Remote_Request::get()
Performs a post request to the specified endpoint with set arguments.
Метод класса: WPSEO_Remote_Request{}
Хуков нет.
Возвращает
WP_Error|Массив
. The response or WP_Error on failure.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get();
Код WPSEO_Remote_Request::get() WPSEO Remote Request::get Yoast 22.3
protected function get() { return wp_remote_get( $this->endpoint, $this->args ); }