Change email values when send email

Labels

This Discussion is public

Notifications
add_filter('frm_display_email_value_custom', 'frm_emailtype_frm_email_val', 10, 2);
function frm_emailtype_frm_email_val($value, $meta){
   // $meta;
   $frm_change_fields = array(25,26);
  
   if ( in_array( $meta['field']->id, $frm_change_fields ) ) {

       $value = 'changed values here';
    }
   return $value;
}

Reply to this Discussion