---
title: fluentform/loading_editor_assets
description: "## Description This action runs during asset loading for the editor. You can hook into this action and load your custom scripts or do other tasks. ```php /* * Source Action */ do_action('fluentform/loading_editor_assets', $form); ``` ## Usage The following would…"
url: "https://fluentforms.com/docs/fluentform_loading_editor_assets/"
updated: "2023-07-25"
category: Action Hooks
---

# fluentform/loading_editor_assets

## Description

This action runs during asset loading for the editor. You can hook into this action and load your custom scripts or do other tasks.

```php
/*
* Source Action
*/
do_action('fluentform/loading_editor_assets', $form);
```

## Usage

The following would apply to all forms:

```php
add_action('fluentform/loading_editor_assets', 'your_custom_function', 10, 1);

function your_custom_function($form)
{
   // Do your stuff here
}
```

## Parameters

- **$form **(object) Form Object

## Source Code

This hook is located in fluentform/app/Modules/Registerer/Menu.php
