Description #
This filter returns the email subject.
apply_filters('fluentform/email_subject', $notification['subject'], $notification, $submittedData, $form);
Usage #
add_filter('fluentform/email_subject', function ($subject, $notification, $submittedData, $form) {
return $subject;
}, 10, 4);
Parameters #
- $subject (string) Subject
- $notification(array) Notification Data
- $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\FormBuilder\Notifications\EmailNotifications -> notify($notification, $submittedData, $form, $entryId = false)