Action_Scheduler\Migration
Config::get_destination_store
Get the configured destination store.
Method of the class: Config{}
No Hooks.
Returns
ActionScheduler_Store.
Usage
$Config = new Config(); $Config->get_destination_store();
Config::get_destination_store() Config::get destination store code WC 10.5.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;
}