---
title: "fluentform/render_item_{$item}"
description: "## Description This action runs every time an input item is rendered. If you need to do anything in the background you can use this action. $item is the key of the component that is being rendered. ```php /* *…"
url: "https://fluentforms.com/docs/fluentform_render_item_item/"
updated: "2023-07-25"
category: Action Hooks
---

# fluentform/render_item_{$item}

## Description

This action runs every time an input item is rendered. If you need to do anything in the background you can use this action. $item is the key of the component that is being rendered.

```php
/*
* Source Action
*/
do_action('fluentform/render_item_'.$item['element'], $item, $form);
```

## Usage

```php
add_action('fluentform/render_item_submit_button', 'custom_function', 10, 2);

function custom_function($item, $form)
{
   // Do your stuff here
}
```

## Parameters

- **$item** (array) Input Item
- **$form** (object) Form Object

## Source Code

This hook is located in fluentform/app/Modules/Component/Component.php
