Yoast\WP\SEO\Schema_Aggregator\User_Interface

Schemamap_Xml_Rewrite_Integration::finish_requestprotectedYoast 1.0

Ends the request after the schema map has been output.

The exit() is wrapped in an overridable method so the unit tests can stub it out; executing it would terminate the test runner. Protected rather than private because Mockery cannot stub private methods.

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

Хуков нет.

Возвращает

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

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->finish_request();

Код Schemamap_Xml_Rewrite_Integration::finish_request() Yoast 28.4

protected function finish_request() {
	exit();
}