Yoast\WP\SEO\Initializers

Migration_Runner::initialize()publicYoast 1.0

Runs this initializer.

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

Хуков нет.

Возвращает

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

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

$Migration_Runner = new Migration_Runner();
$Migration_Runner->initialize();

Код Migration_Runner::initialize() Yoast 23.8

public function initialize() {
	$this->run_free_migrations();
	// The below actions is used for when queries fail, this may happen in a multisite environment when switch_to_blog is used.
	\add_action( '_yoast_run_migrations', [ $this, 'run_free_migrations' ] );
}