Description  #

This filter returns the destination email for emails. Multiple emails can be added by (,) comma separator.

apply_filters('fluentform_email_to', $address, $notification, $submittedData, $form);

Usage   #

add_filter('fluentform_email_to', function ($address, $notification, $submittedData, $form) {
    // do your stuff
    return $address;
}, 10, 4);

Parameters #

  • $address (string) Email
  • $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 *