WC_Shipping_Zone::get_zone_locations()
Get zone locations.
Метод класса: WC_Shipping_Zone{}
Хуков нет.
Возвращает
Массив
. of zone objects
Использование
$WC_Shipping_Zone = new WC_Shipping_Zone(); $WC_Shipping_Zone->get_zone_locations( $context );
- $context(строка)
- View or edit context.
По умолчанию: 'view'
Код WC_Shipping_Zone::get_zone_locations() WC Shipping Zone::get zone locations WC 7.5.1
public function get_zone_locations( $context = 'view' ) { return $this->get_prop( 'zone_locations', $context ); }