Description  #

This filter returns the email CSS style. Hook into this to modify the CSS style of email.

apply_filters('fluentform_email_styles', $css, $form, $notification);

Usage   #

add_filter('fluentform_email_styles', function ($css, $form, notification) {
    // do your stuff
    return $css;
}, 10, 3);

Parameters #

  • $css (string) Email Style CSS
  • $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 app/Services/FormBuilder/Notifications/EmailNotification.php

Powered by BetterDocs

Leave a Reply

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