WC_Legacy_Shipping_Zone::get_zone_id() – Get zone ID

You appear to be a bot. Output may be restricted

Description

Get zone ID

Usage

$int|null = WC_Legacy_Shipping_Zone::get_zone_id();

Parameters

Returns

int|null Null if the zone does not exist. 0 is the default zone.

Source

File name: woocommerce/includes/legacy/class-wc-legacy-shipping-zone.php


Lines:

1 to 5 of 5
  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();
  }
 

 View on GitHub View on Trac