This filter gives the option to modify the email body. It is called right before sending an email notification.
Here is an example:
add_filter('fluentform_email_body',function($emailBody, $notification, $submittedData, $form){ $targetFormId = 10; if($form->id != $targetFormId){ return; } //your code here return $emailBody; },10,4);
This code should be placed in the functions.php file of your active theme.
This filter is located in
wp-content/plugins/fluentform/app/Services/FormBuilder/Notifications/EmailNotification.php
Powered by BetterDocs
Your email address will not be published. Required fields are marked *
Comment
Name*
Email*
Website