Yoast\WP\SEO\Services\Health_Check

Links_Table_Runner::should_run()publicYoast 1.0

Determines whether the health check should run or not.

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

Хуков нет.

Возвращает

true|false. True if the text link counter feature is enabled.

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

$Links_Table_Runner = new Links_Table_Runner();
$Links_Table_Runner->should_run();

Код Links_Table_Runner::should_run() Yoast 22.4

public function should_run() {
	$text_link_counter_enabled = $this->options_helper->get( 'enable_text_link_counter' );

	if ( ! \is_bool( $text_link_counter_enabled ) ) {
		return false;
	}

	return $text_link_counter_enabled;
}