WordPress at Your Fingertips
filter is not described

woocommerce_valid_location_types filter-hook . WC 1.0

Is passed location type valid?

Usage

add_filter( 'woocommerce_valid_location_types', 'filter_function_name_7508' );
function filter_function_name_7508( $type ){
	// filter...

	return $type;
}
$type(string)
Type to check.

Where the hook is called

WC_Shipping_Zone::is_valid_location_type()
woocommerce_valid_location_types
woocommerce/includes/class-wc-shipping-zone.php 354
return in_array( $type, apply_filters( 'woocommerce_valid_location_types', array( 'postcode', 'state', 'country', 'continent' ) ), true );

Where in WP core the hook is used WooCommerce

Usage not found.