Description #
This filter is available just before rendering the form. You can use this filter to modify the form object.
apply_filters('fluentform/smartcode_group_'.$group, $property, self::getInstance());
Usage #
The following would apply to all forms:
add_filter('fluentform/smartcode_group_'.$group, function($property, $instance){
//do your stuff
return $property;
}, 10, 2);
Parameters #
- $property (string) SmartCode Name
- $instance (object) Shortcode Parser Instance
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\App\Services\FormBuilder -> getOtherData($key)