Description #
This filter parses the shortcode of the email body message. You can turn it off using this filter.
apply_filters('fluentform/submission_message_parse', $emailBody, $entryId, $submittedData, $form);
Usage #
add_filter('fluentform/submission_message_parse', function ($emailBody, $entryId, $submittedData, $form) {
return $emailBody;
}, 10, 4);
Parameters #
- $emailBody (array) Email Body
- $entryId (int) Entry ID
- $submittedData (array) Submitted Data
- $form (object) Form Object
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\App\Services\Form\SubmissionHandlerServices -> getReturnData($insertId, $form, $formData)