WC_Shipping_Zone::get_zone_name()publicWC 1.0

Get zone name.

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

No Hooks.

Return

String.

Usage

$WC_Shipping_Zone = new WC_Shipping_Zone();
$WC_Shipping_Zone->get_zone_name( $context );
$context(string)
View or edit context.
Default: 'view'

Code of WC_Shipping_Zone::get_zone_name() WC 6.5.1

public function get_zone_name( $context = 'view' ) {
	return $this->get_prop( 'zone_name', $context );
}