WC_Shipping_Legacy_Local_Pickup::get_valid_postcodes()

Get postcodes for this method.


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php

	public function get_valid_postcodes() {
		$codes = array();

		if ( '' !== $this->codes ) {
			foreach ( explode( ',', $this->codes ) as $code ) {
				$codes[] = strtoupper( trim( $code ) );
			}
		}

		return $codes;
	}


Top ↑

User Contributed Notes User Contributed Notes

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