WC_Shipping_Rate::set_instance_id( int $instance_id )
Set instance ID the rate belongs to.
Description Description
Parameters Parameters
- $instance_id
-
(Required) Instance ID.
Source Source
File: includes/class-wc-shipping-rate.php
public function set_instance_id( $instance_id ) { $this->data['instance_id'] = absint( $instance_id ); }
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |