WC_Shipping_Zone_Data_Store_Interface::get_zones()
Return an ordered list of zones.
Method of the class: WC_Shipping_Zone_Data_Store_Interface{}
No Hooks.
Return
Array
. An array of objects containing a zone_id, zone_name, and zone_order.
Usage
$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 code WC 8.7.0
public function get_zones();