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) Notifcation Data

Placement #

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

Source Code #

This filter is located in resources/views/email/template/header.php

Powered by BetterDocs

Leave a Reply

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