Warning: This method has been deprecated.
WC_Legacy_Shipping_Zone::get_zone_id()
Get zone ID
Description Description
Return Return
(int|null) Null if the zone does not exist. 0 is the default zone.
Source Source
File: includes/legacy/class-wc-legacy-shipping-zone.php
21 22 23 24 | public function get_zone_id() { wc_deprecated_function( 'WC_Shipping_Zone::get_zone_id' , '3.0' , 'WC_Shipping_Zone::get_id' ); return $this ->get_id(); } |
Changelog Changelog
Version | Description |
---|---|
3.0 | Introduced. |