Description #

This filter gives the option to modify the email body. It is called right before sending an email notification.

Usage #

Here is an example:

add_filter('fluentform_email_body',function($emailBody, $notification, $submittedData, $form){
	$targetFormId = 10;
	if($form->id != $targetFormId){
	//your code here
	return $emailBody;

Parameters #

  • $emailBody (html) Html output of the body
  • $notification (Array) Notification settings data
  • $submittedData (Array) Submitted form data

Placement #

This code should be placed in the functions.php file of your active theme.

Source Code #

This filter is located in


Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *