Automattic\WooCommerce\Admin\Features\Fulfillments
Fulfillment::set_shipment_provider
Set the shipment provider.
Method of the class: Fulfillment{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Fulfillment = new Fulfillment(); $Fulfillment->set_shipment_provider( $shipment_provider ): void;
- $shipment_provider(string) (required)
- Shipment provider slug.
Changelog
| Since 10.7.0 | Introduced. |
Fulfillment::set_shipment_provider() Fulfillment::set shipment provider code WC 10.8.1
public function set_shipment_provider( string $shipment_provider ): void {
$this->update_meta_data( '_shipment_provider', $shipment_provider );
}