Hooks::maybe_migrate_legacy_sidebars()

Checks if we need to migrate the Widgets and Sidebars after an update.


Return

(void)


Top ↑

Source

File: src/Tribe/Views/V2/Widgets/Hooks.php

	public function maybe_migrate_legacy_sidebars() {
		// First migrate the sidebars.
		$this->container->make( Compatibility::class )->migrate_legacy_sidebars();

		// Now we can migrate the widgets.
		$this->container->make( Compatibility::class )->migrate_legacy_widgets();
	}

Top ↑

Changelog

Changelog
Version Description
5.6.0 Introduced.