woocommerce_countries_estimated_for_prefix

woocommerce_countries_estimated_for_prefix

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_countries_estimated_for_prefix') is found 1 times:

  • /includes/class-wc-countries.php line 482
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
        $country_code = $country_code ? $country_code : $this->get_base_country();
        $countries    = array( 'AE', 'CZ', 'DO', 'GB', 'NL', 'PH', 'US', 'USAF' );
        $return       = in_array( $country_code, $countries, true ) ? __( 'the', 'woocommerce' ) . ' ' : '';
     
        return apply_filters( 'woocommerce_countries_estimated_for_prefix', $return, $country_code );
    }
     
    /**
     * Correctly name tax in some countries VAT on the frontend.
     *
     * @return string