---
title: fluentform/before_form_screen_wrapper
description: "## Description This action runs after the fluent form editor wrapper in the admin panel. If you need to do anything in the background you can use this action. ```php /* * Source Action */ do_action('fluentform/before_form_screen_wrapper', $form_id, $route); ``` ##…"
url: "https://fluentforms.com/docs/fluentform_before_form_screen_wrapper/"
updated: "2023-07-25"
category: Action Hooks
---

# fluentform/before_form_screen_wrapper

## Description

This action runs after the fluent form editor wrapper in the admin panel. If you need to do anything in the background you can use this action.

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

## Usage

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

function custom_function()
{
   // Do your stuff here
}
```

## Parameters

- **$form_id** (int) Form ID
- **$route** (string) Route

## Source Code

This hook is located in fluentform/app/Views/admin/form/form_wrapper.php
