WC_Shipping_Zone::get_zone_locations() public WC 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.
Код WC_Shipping_Zone::get_zone_locations() WC Shipping Zone::get zone locations WC 5.0.0
public function get_zone_locations( $context = 'view' ) {
return $this->get_prop( 'zone_locations', $context );
}