woocommerce_countries

woocommerce_countries

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_countries') is found 1 times:

  • /includes/class-wc-countries.php line 70
    			 * @since 1.5.3
    			 *
    			 * @param array $countries
    			 */
    			$this->geo_cache['countries'] = apply_filters( 'woocommerce_countries', include WC()->plugin_path() . '/i18n/countries.php' );
    			if ( apply_filters( 'woocommerce_sort_countries', true ) ) {
    				wc_asort_by_locale( $this->geo_cache['countries'] );
    			}
    		}
    
    		return $this->geo_cache['countries'];