WordPress at Your Fingertips
function is not described

WC_Shipping_Zone_Data_Store_Interface::get_zones() public WC 1.0

Return an ordered list of zones.

{} It's a 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();

Code of WC_Shipping_Zone_Data_Store_Interface::get_zones() WC 5.8.0

public function get_zones();