|
@@ 895-897 (lines=3) @@
|
| 892 |
|
|
| 893 |
|
// For Country. |
| 894 |
|
$selected_country = give_get_country(); |
| 895 |
|
if ( ! empty( $give_user_info['billing_country'] ) && '*' !== $give_user_info['billing_country'] ) { |
| 896 |
|
$selected_country = $give_user_info['billing_country']; |
| 897 |
|
} |
| 898 |
|
$countries = give_get_country_list(); |
| 899 |
|
|
| 900 |
|
// For state |
|
@@ 911-913 (lines=3) @@
|
| 908 |
|
$selected_state = $give_user_info['card_state']; |
| 909 |
|
} |
| 910 |
|
// Get the country code |
| 911 |
|
if ( ! empty( $give_user_info['billing_country'] ) && '*' !== $give_user_info['billing_country'] ) { |
| 912 |
|
$selected_country = $give_user_info['billing_country']; |
| 913 |
|
} |
| 914 |
|
$label = __( 'State', 'give' ); |
| 915 |
|
$states_label = give_get_states_label(); |
| 916 |
|
// Check if $country code exists in the array key for states label. |