| @@ -164,25 +164,8 @@ | ||
| 164 | 164 | return $results; |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | - * Get payments by a entry_id | |
| 169 | - * | |
| 170 | - * @param int $entry_id | |
| 171 | - * | |
| 172 | - * @return object | |
| 173 | - */ | |
| 174 | -function weforms_get_entry_payment( $entry_id ) { | |
| 175 | - global $wpdb; | |
| 176 | - | |
| 177 | - $query = 'SELECT transaction_id FROM ' . $wpdb->prefix . 'weforms_payments' . | |
| 178 | - ' WHERE entry_id = ' . $entry_id; | |
| 179 | - $payment = $wpdb->get_row( $query, $entry_id ); | |
| 180 | - | |
| 181 | - return $payment; | |
| 182 | -} | |
| 183 | - | |
| 184 | -/** | |
| 185 | 168 | * Get an entry by id |
| 186 | 169 | * |
| 187 | 170 | * @param int $entry_id |
| 188 | 171 | * |
| @@ -1131,9 +1114,8 @@ | ||
| 1131 | 1114 | 'respondent_can_see' => [ 'missed_questions', 'correct_answers', 'point_values' ], |
| 1132 | 1115 | 'total_points' => 0, |
| 1133 | 1116 | 'enable_multistep' => false, |
| 1134 | 1117 | 'multistep_progressbar_type' => 'progressive', |
| 1135 | - 'humanpresence_enabled' => false, | |
| 1136 | 1118 | |
| 1137 | 1119 | // payment |
| 1138 | 1120 | 'payment_paypal_images' => 'https://www.paypalobjects.com/webstatic/mktg/logo/AM_mc_vs_dc_ae.jpg', |
| 1139 | 1121 | |