Yoast\WP\SEO\Actions\Indexables

Indexable_Head_Action::for_200()protectedYoast 1.0

Retrieves the head for a successful page load.

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

Хуков нет.

Возвращает

Объект. The presentations and status code 200.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->for_200( $head );
$head(объект) (обязательный)
The calculated Yoast head.

Код Indexable_Head_Action::for_200() Yoast 22.4

protected function for_200( $head ) {
	return (object) [
		'html'   => $head->html,
		'json'   => $head->json,
		'status' => 200,
	];
}