WPSEO_Upgrade::upgrade_151()privateYoast 1.0

Performs the 15.1 upgrade.

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

Хуков нет.

Возвращает

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

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

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

Код WPSEO_Upgrade::upgrade_151() Yoast 22.1

private function upgrade_151() {
	$this->set_home_url_for_151();
	$this->move_indexables_indexation_reason_for_151();

	add_action( 'init', [ $this, 'set_permalink_structure_option_for_151' ] );
	add_action( 'init', [ $this, 'store_custom_taxonomy_slugs_for_151' ] );
}