PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.10
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.10
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
← All changes | includes/functions.php +18 -0 1.6.41.6.10 View file →
@@ -164,8 +164,25 @@
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 +/**
168 185 * Get an entry by id
169 186 *
170 187 * @param int $entry_id
171 188 *
@@ -1114,8 +1131,9 @@
1114 1131 'respondent_can_see' => [ 'missed_questions', 'correct_answers', 'point_values' ],
1115 1132 'total_points' => 0,
1116 1133 'enable_multistep' => false,
1117 1134 'multistep_progressbar_type' => 'progressive',
1135 + 'humanpresence_enabled' => false,
1118 1136
1119 1137 // payment
1120 1138 'payment_paypal_images' => 'https://www.paypalobjects.com/webstatic/mktg/logo/AM_mc_vs_dc_ae.jpg',
1121 1139