Description #
This filter returns the email templates header image.
apply_filters('fluentform/email_template_header_image', false, $form, $notification);
Usage #
add_filter('fluentform/email_template_header_image', function ($image, $form, notification) {
// do your stuff
if($image){
return $image;
}
return false;
}, 10, 3);
Parameters #
- $image (string) Image Location or boolean
- $notification (array) Notification 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\views\email\template\header.php