Method |
Description |
|
delete_zone ( integer $zone_id ) |
Delete a zone using it's ID |
|
get_shipping_method ( $instance_id ) : WC_Shipping_Meethod | boolean |
Get shipping zone using it's ID |
|
get_zone ( integer $zone_id ) : WC_Shipping_Zone | boolean |
Get shipping zone using it's ID |
|
get_zone_by ( string $by = 'zone_id', integer $id ) : WC_Shipping_Zone | boolean |
Get shipping zone by an ID. |
|
get_zone_matching_package ( object $package ) : WC_Shipping_Zone |
Find a matching zone for a given package. |
|
get_zones ( ) : array |
Get shipping zones from the database |
|