WC_Shipping_Zone_Data_Store_Interface::get_zones()publicWC 1.0

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() code WC 8.9.0

public function get_zones();