---
title: "fluentform/smartcode_group_{$group}"
description: "## Description  This filter is available just before rendering the form. You can use this filter to modify the form object. ```php apply_filters('fluentform/smartcode_group_'.$group, $property, self::getInstance()); ``` ## Usage   The following would apply to all forms: ```php add_filter('fluentform/smartcode_group_'.$group, function($property, $instance){ //do…"
url: "https://fluentforms.com/docs/fluentform_smartcode_group_group/"
updated: "2023-07-21"
category: Filter Hooks
---

# fluentform/smartcode_group_{$group}

## Description 

This filter is available just before rendering the form. You can use this filter to modify the form object.

```php
apply_filters('fluentform/smartcode_group_'.$group, $property, self::getInstance());
```

## Usage  

The following would apply to all forms:

```php
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](http://codex.wordpress.org/Theme_Development#Functions_File) file of your active theme.

## Source Code

This filter is located in FluentForm\App\Services\FormBuilder -> getOtherData($key)
