WC_Shipping_Zone::get_zone_locations()publicWC 1.0

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 8.6.1

public function get_zone_locations( $context = 'view' ) {
	return $this->get_prop( 'zone_locations', $context );
}