Yoast\WP\SEO\Helpers

First_Time_Configuration_Notice_Helper::is_first_time_configuration_finished()privateYoast 1.0

Whether all steps of the first-time configuration have been finished.

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

Хуков нет.

Возвращает

true|false. Whether the first-time configuration has been finished.

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

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

Код First_Time_Configuration_Notice_Helper::is_first_time_configuration_finished() Yoast 24.4

private function is_first_time_configuration_finished() {
	$configuration_finished_steps = $this->options_helper->get( 'configuration_finished_steps', [] );

	return \count( $configuration_finished_steps ) === 3;
}