WordPress at Your Fingertips
function is not described

WC_Countries::estimated_for_prefix() public WC 1.0

Prefix certain countries with 'the'.

{} It's a method of the class: WC_Countries{}

Return

String.

Usage

$WC_Countries = new WC_Countries();
$WC_Countries->estimated_for_prefix( $country_code );
$country_code(string)
Country code.
Default: ''

Code of WC_Countries::estimated_for_prefix() WC 5.6.0

public function estimated_for_prefix( $country_code = '' ) {
	$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 );
}