WPSEO_MyYoast_Api_Request::get_request_body
Retrieves the request body based on URL or access token support.
Метод класса: WPSEO_MyYoast_Api_Request{}
Хуков нет.
Возвращает
Массив. The request body.
Использование
$WPSEO_MyYoast_Api_Request = new WPSEO_MyYoast_Api_Request(); $WPSEO_MyYoast_Api_Request->get_request_body();
Код WPSEO_MyYoast_Api_Request::get_request_body() WPSEO MyYoast Api Request::get request body Yoast 27.7
public function get_request_body() {
return [ 'url' => WPSEO_Utils::get_home_url() ];
}