@@ 1079-1081 (lines=3) @@ | ||
1076 | } |
|
1077 | ||
1078 | // Get user first name. |
|
1079 | if ( ! isset( $user['user_first'] ) || strlen( trim( $user['user_first'] ) ) < 1 ) { |
|
1080 | $user['user_first'] = isset( $post_data['give_first'] ) ? strip_tags( trim( $post_data['give_first'] ) ) : ''; |
|
1081 | } |
|
1082 | ||
1083 | // Get user last name. |
|
1084 | if ( ! isset( $user['user_last'] ) || strlen( trim( $user['user_last'] ) ) < 1 ) { |
|
@@ 1084-1086 (lines=3) @@ | ||
1081 | } |
|
1082 | ||
1083 | // Get user last name. |
|
1084 | if ( ! isset( $user['user_last'] ) || strlen( trim( $user['user_last'] ) ) < 1 ) { |
|
1085 | $user['user_last'] = isset( $post_data['give_last'] ) ? strip_tags( trim( $post_data['give_last'] ) ) : ''; |
|
1086 | } |
|
1087 | ||
1088 | // Add Title Prefix to user information. |
|
1089 | if ( empty( $user['user_title'] ) || strlen( trim( $user['user_title'] ) ) < 1 ) { |
|
@@ 1089-1091 (lines=3) @@ | ||
1086 | } |
|
1087 | ||
1088 | // Add Title Prefix to user information. |
|
1089 | if ( empty( $user['user_title'] ) || strlen( trim( $user['user_title'] ) ) < 1 ) { |
|
1090 | $user['user_title'] = ! empty( $post_data['give_title'] ) ? strip_tags( trim( $post_data['give_title'] ) ) : ''; |
|
1091 | } |
|
1092 | ||
1093 | // Get the user's billing address details. |
|
1094 | $user['address'] = array(); |