Description  #

This filter is available before rendering the form. You can add custom classes using this filter.

apply_filters('fluentform_form_class', $formClass, $form);

Usage   #

The following would apply to all forms:

add_filter('fluentform_form_class', function($formClass, $form){
   return $formClass;
}, 10, 2);

Parameters #

  • $form (object) The $form Object
  • $formClass (string) Form Class

Placement #

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

Source Code #

This filter is located in app/Modules/Component/Component.php

Powered by BetterDocs

Leave a Reply

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