Action_Scheduler\Migration

Config::get_destination_store()publicWC 1.0

Get the configured destination store.

{} Это метод класса: Config{}

Хуков нет.

Возвращает

ActionScheduler_Store.

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

$Config = new Config();
$Config->get_destination_store();

Код Config::get_destination_store() WC 6.9.4

public function get_destination_store() {
	if ( empty( $this->destination_store ) ) {
		throw new \RuntimeException( __( 'Destination store must be configured before running a migration', 'woocommerce' ) );
	}

	return $this->destination_store;
}