woocommerce_formatted_address_force_country_display хук-фильтрWC 1.0

Country is not needed if the same as base.

Использование

add_filter( 'woocommerce_formatted_address_force_country_display', 'wp_kama_woocommerce_formatted_address_force_country_display_filter' );

/**
 * Function for `woocommerce_formatted_address_force_country_display` filter-hook.
 * 
 * @param  $false 
 *
 * @return 
 */
function wp_kama_woocommerce_formatted_address_force_country_display_filter( $false ){

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

Где вызывается хук

WC_Countries::get_formatted_address()
woocommerce_formatted_address_force_country_display
woocommerce/includes/class-wc-countries.php 590
if ( $country === $this->get_base_country() && ! apply_filters( 'woocommerce_formatted_address_force_country_display', false ) ) {

Где используется хук в WooCommerce

Использование не найдено.