WordPress at Your Fingertips
function is not described

WC_Order_Item_Shipping::set_instance_id() public WC 1.0

Set shipping instance id.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Order_Item_Shipping = new WC_Order_Item_Shipping();
$WC_Order_Item_Shipping->set_instance_id( $value );
$value(string) (required)
Value to set.

Code of WC_Order_Item_Shipping::set_instance_id() WC 5.9.0

public function set_instance_id( $value ) {
	$this->set_prop( 'instance_id', wc_clean( $value ) );
}