woocommerce_countries_allowed_country_states filter-hookWC 1.0

Usage

add_filter( 'woocommerce_countries_allowed_country_states', 'wp_kama_woocommerce_countries_allowed_country_states_filter' );

/**
 * Function for `woocommerce_countries_allowed_country_states` filter-hook.
 * 
 * @param  $states 
 *
 * @return 
 */
function wp_kama_woocommerce_countries_allowed_country_states_filter( $states ){

	// filter...
	return $states;
}
$states
-

Where the hook is called

WC_Countries::get_allowed_country_states()
woocommerce_countries_allowed_country_states
woocommerce/includes/class-wc-countries.php 370
return apply_filters( 'woocommerce_countries_allowed_country_states', $states );

Where the hook is used in WooCommerce

Usage not found.