WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Config::get_destination_store() public WC 1.0

Get the configured destination store.

{} It's a method of the class: Config{}

No Hooks.

Return

ActionScheduler_Store.

Usage

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

Code of Config::get_destination_store() WC 6.1.0

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;
}