Description  #

This filter returns the email subject.

apply_filters('fluentform_email_subject', $notification['subject'], $notification, $submittedData, $form);

Usage   #

add_filter('fluentform_email_subject', function ($notification['subject'], $notification, $submittedData, $form) {
    return $notification['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 app/Services/FormBuilder/Notifications/EmailNotification.php

Powered by BetterDocs

Leave a Reply

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