Automattic\WooCommerce\Admin\Features\Blueprint\Exporters
ExportWCSettingsShipping::export
Export WooCommerce shipping settings.
Method of the class: ExportWCSettingsShipping{}
No Hooks.
Returns
Array. Array of RunSql|SetSiteOptions instances.
Usage
$ExportWCSettingsShipping = new ExportWCSettingsShipping(); $ExportWCSettingsShipping->export(): array;
ExportWCSettingsShipping::export() ExportWCSettingsShipping::export code WC 10.6.2
public function export(): array {
$shipping_settings = parent::export();
$steps = array_merge(
array( $shipping_settings ),
$this->get_steps_for_classes_and_terms(),
$this->get_steps_for_zones(),
$this->get_steps_for_locations(),
$this->get_steps_for_methods_and_options()
);
$steps[] = $this->get_step_for_local_pickup();
return $steps;
}