WC_Shipping_Zones::delete_zone() – Delete a zone using it’s ID

You appear to be a bot. Output may be restricted

Description

Delete a zone using it's ID

Usage

WC_Shipping_Zones::delete_zone( $zone_id );

Parameters

$zone_id
( int ) required – Zone ID.

Returns

void

Source

File name: woocommerce/includes/class-wc-shipping-zones.php
Lines:

1 to 4 of 4
  public static function delete_zone( $zone_id ) {
    $zone = new WC_Shipping_Zone( $zone_id );
    $zone->delete();
  }
 

 View on GitHub View on Trac