Description  #

This filter returns HTML output for each input of the form. It is used in all the input components. You can hook into this and modify the HTML output of any field using this filter.

apply_filters('fluentform_rendering_field_html_'.$elementName, $html, $data, $form);

Usage   #

add_filter('fluentform_rendering_field_html_textarea', function ($html, $data, $form) {
    return $html;
}, 10, 3);

Parameters #

  • $html (string) Html Data
  • $data (array) Field Data
  • $form (int) 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/Components/

Powered by BetterDocs

Leave a Reply

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