Yoast\WP\SEO\Services\Health_Check

Health_Check::set_runner()protectedYoast 1.0

The health check implementation sets the runner so this class can start a health check.

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

Хуков нет.

Возвращает

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

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->set_runner( $runner );
$runner(Runner_Interface) (обязательный)
The health check runner.

Код Health_Check::set_runner() Yoast 22.4

protected function set_runner( $runner ) {
	$this->runner = $runner;
}