[?] [?]  [?]  [?]

% /> />
[?] [?] [?]  [?]  [?]
% /> />
$value) : $country = woocommerce_clean($country); if (sizeof($value)>0 && $value[0]!=='*') : $states_count+=sizeof($value); endif; if (!in_array($country, $counties_array)) $counties_array[] = $woocommerce->countries->countries[$country]; endforeach; $states_text = ''; $countries_text = implode(', ', $counties_array); // Show label if (sizeof($counties_array)==0) : $return .= __('No countries selected', 'woocommerce'); elseif ( sizeof($counties_array) < 6 ) : if ($states_count>0) $states_text = sprintf(_n('(1 state)', '(%s states)', $states_count, 'woocommerce'), $states_count); $return .= $countries_text . ' ' . $states_text; else : if ($states_count>0) $states_text = sprintf(_n('and 1 state', 'and %s states', $states_count, 'woocommerce'), $states_count); $return .= sprintf(_n('1 country', '%1$s countries', sizeof($counties_array), 'woocommerce'), sizeof($counties_array)) . ' ' . $states_text; endif; return $return; }