WPSEO_Remote_Request::set_body()publicYoast 1.0

Sets the request body.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WPSEO_Remote_Request = new WPSEO_Remote_Request();
$WPSEO_Remote_Request->set_body( $body );
$body(разное) (обязательный)
The body to set.

Код WPSEO_Remote_Request::set_body() Yoast 22.4

public function set_body( $body ) {
	$this->args['body'] = $body;
}