WC_Shipping_Method::get_instance_id
Return the shipping method instance ID.
Method of the class: WC_Shipping_Method{}
No Hooks.
Returns
Int.
Usage
$WC_Shipping_Method = new WC_Shipping_Method(); $WC_Shipping_Method->get_instance_id();
Changelog
| Since 2.6.0 | Introduced. |
WC_Shipping_Method::get_instance_id() WC Shipping Method::get instance id code WC 10.6.2
public function get_instance_id() {
return $this->instance_id;
}