---
title: fluentform/form_styler
description: "## Description This action runs before rendering the form styler. ```php /* * Source Action */ do_action('fluentform/form_styler', $form_id); ``` ## Usage ```php add_action('fluentform/form_styler', function ($form_id) { // Do your stuffs here }, 10, 1); ``` This code should be placed…"
url: "https://fluentforms.com/docs/fluentform_form_styler/"
updated: "2023-07-26"
category: Action Hooks
---

# fluentform/form_styler

## Description

This action runs before rendering the form styler.

```php
/*
* Source Action
*/
do_action('fluentform/form_styler', $form_id);
```

## Usage

```php
add_action('fluentform/form_styler', function ($form_id)
{
   // Do your stuffs here
}, 10, 1);
```

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 action is located in fluentform/app/Views/frameless/show_preview.php
