WordPress at a glance
function is not described

WC_Shipping_Zone_Data_Store_Interface::get_zone_id_from_package() public WC 1.0

Find a matching zone ID for a given package.

{} It's a method of the class: WC_Shipping_Zone_Data_Store_Interface{}

No Hooks.

Return

Int.

Usage

$WC_Shipping_Zone_Data_Store_Interface = new WC_Shipping_Zone_Data_Store_Interface();
$WC_Shipping_Zone_Data_Store_Interface->get_zone_id_from_package( $package );
$package(object) (required)
Zone package object.

Code of WC_Shipping_Zone_Data_Store_Interface::get_zone_id_from_package() WC 5.0.0

<?php
public function get_zone_id_from_package( $package );