WPSEO_Remote_Request::post()
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->post();
Код WPSEO_Remote_Request::post() WPSEO Remote Request::post Yoast 22.3
protected function post() { return wp_remote_post( $this->endpoint, $this->args ); }