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

# fluentform/editor_init

## Description

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

```php
/*
* Source Action
*/
do_action('fluentform/editor_init', $components);
```

## Usage

```php
add_action('fluentform/editor_init', 'custom_function', 10, 1);

function your_custom_after_submission_function($components)
{
   // Do your stuff here
}
```

## Parameters

- **$components **(array) Editor Components

## Source Code

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