Yoast\WP\SEO\MyYoast_Client\Domain

HTTP_Response::has_array_body │ public │ Yoast 1.0

Whether the body is an associative array (decoded JSON).

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

Хуков нет.

Возвращает

bool. True if the body is an associative array.

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

$HTTP_Response = new HTTP_Response();
$HTTP_Response->has_array_body(): bool;

Код HTTP_Response::has_array_body() Yoast 28.9

public function has_array_body(): bool {
	return \is_array( $this->body );
}