woocommerce_get_country_locale_base

woocommerce_get_country_locale_base

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_country_locale_base') is found 2 times:

  • /includes/class-wc-countries.php line 1660
    			if ( ! isset( $this->locale[ $this->get_base_country() ] ) ) {
    				$this->locale[ $this->get_base_country() ] = $this->locale['default'];
    			}
    
    			$this->locale['default']                   = apply_filters( 'woocommerce_get_country_locale_base', $this->locale['default'] );
    			$this->locale[ $this->get_base_country() ] = apply_filters( 'woocommerce_get_country_locale_base', $this->locale[ $this->get_base_country() ] );
    		}
    
    		return $this->locale;
    	}
    
    
  • /includes/class-wc-countries.php line 1661
    				$this->locale[ $this->get_base_country() ] = $this->locale['default'];
    			}
    
    			$this->locale['default']                   = apply_filters( 'woocommerce_get_country_locale_base', $this->locale['default'] );
    			$this->locale[ $this->get_base_country() ] = apply_filters( 'woocommerce_get_country_locale_base', $this->locale[ $this->get_base_country() ] );
    		}
    
    		return $this->locale;
    	}
    
    	/**