|
@@ 1044-1046 (lines=3) @@
|
| 1041 |
|
|
| 1042 |
|
// For Country. |
| 1043 |
|
$selected_country = give_get_country(); |
| 1044 |
|
if ( ! empty( $give_user_info['billing_country'] ) && '*' !== $give_user_info['billing_country'] ) { |
| 1045 |
|
$selected_country = $give_user_info['billing_country']; |
| 1046 |
|
} |
| 1047 |
|
$countries = give_get_country_list(); |
| 1048 |
|
|
| 1049 |
|
// For state. |
|
@@ 1060-1062 (lines=3) @@
|
| 1057 |
|
$selected_state = $give_user_info['card_state']; |
| 1058 |
|
} |
| 1059 |
|
// Get the country code. |
| 1060 |
|
if ( ! empty( $give_user_info['billing_country'] ) && '*' !== $give_user_info['billing_country'] ) { |
| 1061 |
|
$selected_country = $give_user_info['billing_country']; |
| 1062 |
|
} |
| 1063 |
|
$label = __( 'State', 'give' ); |
| 1064 |
|
$states_label = give_get_states_label(); |
| 1065 |
|
// Check if $country code exists in the array key for states label. |