Yoast\WP\SEO\Conditionals
Migrations_Conditional::is_met()
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() Migrations Conditional::is met Yoast 23.5
public function is_met() { return $this->migration_status->is_version( 'free', \WPSEO_VERSION ); }