WC_Shipping_Zones::get_zone( int $zone_id )

Get shipping zone using it’s ID


Description Description


Parameters Parameters

$zone_id

(Required) Zone ID.


Top ↑

Return Return

(WC_Shipping_Zone|bool)


Top ↑

Source Source

File: includes/class-wc-shipping-zones.php

	public static function get_zone( $zone_id ) {
		return self::get_zone_by( 'zone_id', $zone_id );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.