woocommerce_states, include WC(

woocommerce_states, include WC(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_states, include WC(') is found 1 times:

  • /includes/class-wc-countries.php line 240
    			 * @since 1.5.3
    			 *
    			 * @param array $states
    			 */
    			$this->geo_cache['states'] = apply_filters( 'woocommerce_states', include WC()->plugin_path() . '/i18n/states.php' );
    		}
    
    		if ( ! is_null( $cc ) ) {
    			return isset( $this->geo_cache['states'][ $cc ] ) ? $this->geo_cache['states'][ $cc ] : false;
    		} else {
    			return $this->geo_cache['states'];