WC_Shipping_Zone::set_zone_locations( array $locations )

Set zone locations.


Description Description


Parameters Parameters

$locations

(Required) Value to set.


Top ↑

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 );
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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