PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.13
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.13
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmFieldValue.php +24 -0 6.256.13 View file →
@@ -229,8 +229,32 @@
229 229 return;
230 230 }
231 231 }
232 232
233 + // TODO: maybe change from 'source' to 'run_filters' = 'email'
234 + if ( isset( $atts['source'] ) && $atts['source'] === 'entry_formatter' ) {
235 + // Deprecated frm_email_value hook
236 + $meta = array(
237 + 'item_id' => $this->entry->id,
238 + 'field_id' => $this->field->id,
239 + 'meta_value' => $this->saved_value,
240 + 'field_type' => $this->field->type,
241 + );
242 +
243 + if ( has_filter( 'frm_email_value' ) ) {
244 + _deprecated_function( 'The frm_email_value filter', '2.04', 'the frm_display_{fieldtype}_value_custom filter' );
245 + $this->displayed_value = apply_filters(
246 + 'frm_email_value',
247 + $this->displayed_value,
248 + (object) $meta,
249 + $this->entry,
250 + array(
251 + 'field' => $this->field,
252 + )
253 + );
254 + }
255 + }//end if
256 +
233 257 // frm_display_{fieldtype}_value_custom hook
234 258 $this->displayed_value = apply_filters(
235 259 'frm_display_' . $this->field->type . '_value_custom',
236 260 $this->displayed_value,