WC_Shipping_Zone_Data_Store_Interface::get_zones()
Return an ordered list of zones.
Метод класса: WC_Shipping_Zone_Data_Store_Interface{}
Хуков нет.
Возвращает
Массив
. An array of objects containing a zone_id, zone_name, and zone_order.
Использование
$WC_Shipping_Zone_Data_Store_Interface = new WC_Shipping_Zone_Data_Store_Interface(); $WC_Shipping_Zone_Data_Store_Interface->get_zones();
Код WC_Shipping_Zone_Data_Store_Interface::get_zones() WC Shipping Zone Data Store Interface::get zones WC 8.7.0
public function get_zones();