View Categories

fluentform/email_template_email_heading

Description  #

This filter returns the email header for the email template.

apply_filters('fluentform/email_template_email_heading', false, $form, $notification);

Usage   #

add_filter('fluentform/email_template_email_heading', function ($email_heading, $form, $notification) {
    // do your stuff
    if($email_heading){
       return $email_heading;
    }
    return false;
}, 10, 3);

Parameters #

  • $email_heading (string) Email Heading
  • $form (array) Form Object
  • $notification (object) Notification Data

Placement #

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

Source Code #

This filter is located in FluentForm\app\views\email\template\header.php