|
@@ 884-886 (lines=3) @@
|
| 881 |
|
|
| 882 |
|
// For Country. |
| 883 |
|
$selected_country = give_get_country(); |
| 884 |
|
if ( ! empty( $give_user_info['billing_country'] ) && '*' !== $give_user_info['billing_country'] ) { |
| 885 |
|
$selected_country = $give_user_info['billing_country']; |
| 886 |
|
} |
| 887 |
|
$countries = give_get_country_list(); |
| 888 |
|
|
| 889 |
|
// For state |
|
@@ 900-902 (lines=3) @@
|
| 897 |
|
$selected_state = $give_user_info['card_state']; |
| 898 |
|
} |
| 899 |
|
// Get the country code |
| 900 |
|
if ( ! empty( $give_user_info['billing_country'] ) && '*' !== $give_user_info['billing_country'] ) { |
| 901 |
|
$selected_country = $give_user_info['billing_country']; |
| 902 |
|
} |
| 903 |
|
$label = __( 'State', 'give' ); |
| 904 |
|
$states_label = give_get_states_label(); |
| 905 |
|
// Check if $country code exists in the array key for states label. |