WC_Shipping_Zone::get_zone_locations( string $context = 'view' )
Get zone locations.
Description Description
Parameters Parameters
- $context
-
(Optional) View or edit context.
Default value: 'view'
Return Return
(array) of zone objects
Source Source
File: includes/class-wc-shipping-zone.php
public function get_zone_locations( $context = 'view' ) { return $this->get_prop( 'zone_locations', $context ); }