WC_Shipping_Zone::set_zone_locations( array $locations )
Set zone locations.
Description Description
Parameters Parameters
- $locations
-
(Required) Value to set.
Source Source
File: includes/class-wc-shipping-zone.php
public function set_zone_locations( $locations ) {
if ( 0 !== $this->get_id() ) {
$this->set_prop( 'zone_locations', $locations );
}
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |