When you use our WP Wizard form guide, you may need to send a custom Email text per question / answer or even form. For this you can use the below filter with example code:
add_filter( 'wordpress_form_wizard_mail_sent_text', function( $emailSentText, $form_id, $choices_made) { if($form_id == 19939) { $type = 'em'; if(isset($choices_made[19940])) { $typeChoosen = reset($choices_made[19940]); if($typeChoosen == 19942) { $type = 'tm'; } } if($type == "em") { $emailSentText = 'Text 1'; } else { $emailSentText = 'Text 2'; }f } elseif($form_id == 20770) { $emailSentText = 'Text 3'; } return $emailSentText; }, 20, 3);