WC_Shipping_Zone::get_zone_name()
Get zone name.
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'
WC_Shipping_Zone::get_zone_name() WC Shipping Zone::get zone name code WC 9.4.2
public function get_zone_name( $context = 'view' ) { return $this->get_prop( 'zone_name', $context ); }