Yoast\WP\SEO\Conditionals

Migrations_Conditional::is_met()publicYoast 1.0

Returns true when all database migrations have been run.

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

Хуков нет.

Возвращает

true|false. true when all database migrations have been run.

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

$Migrations_Conditional = new Migrations_Conditional();
$Migrations_Conditional->is_met();

Код Migrations_Conditional::is_met() Yoast 23.5

public function is_met() {
	return $this->migration_status->is_version( 'free', \WPSEO_VERSION );
}