WC_Shipping_Method::get_instance_id()
Return the shipping method instance ID.
Method of the class: WC_Shipping_Method{}
No Hooks.
Return
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 9.7.1
public function get_instance_id() { return $this->instance_id; }