# Editor Hooks

`Action Hooks` `7 Hooks`

These hooks fire during the form editor — initialization, asset loading, and element rendering.

### `fluentform/after_all_entries_render`

**Description**

This action runs after rendering the all entries page.

**Usage**

```php
add_action('fluentform/after_all_entries_render', function() {
   // Do your stuff here
}, 10, 0);
```

**Reference**

`do_action('fluentform/after_all_entries_render');`

This hook is located in `fluentform/app/views/admin/all_entries.php`.

### `fluentform/after_editor_start`

**Description**

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

**Usage**

```php
add_action('fluentform/after_editor_start', function() {
   // Do your stuff here
}, 10, 0);
```

**Reference**

`do_action('fluentform/after_editor_start');`

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

### `fluentform/after_no_permission`

**Description**

This action runs after rendering no permission view.

**Usage:**

```php
add_action('fluentform/after_no_permission', function() {
   // Do your stuff here
}, 10, 0);
```

**Reference**

`do_action('fluentform/after_no_permission');`

This action is located in `fluentform/app/Views/admin/no_permission.php`

### `fluentform/before_all_entries_render`

**Description**

This action runs before rendering the all entries page.

**Usage**

```php
add_action('fluentform/before_all_entries_render', function() {
   // Do your stuff here
}, 10, 0);
```

**Reference**

`do_action('fluentform/before_all_entries_render');`

This hook is located in `fluentform/app/views/admin/all_entries.php`.

### `fluentform/before_editor_start`

**Description**

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

**Usage**

```php
add_action('fluentform/before_editor_start', function() {
   // Do your stuff here
}, 10, 0);
```

**Reference**

`do_action('fluentform/before_editor_start');`

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

### `fluentform/before_no_permission`

**Description**

This action runs before rendering no permission view.

**Usage:**

```php
add_action('fluentform/before_no_permission', function() {
   // Do your stuff here
}, 10, 0);
```

**Reference**

`do_action('fluentform/before_no_permission');`

This action is located in `fluentform/app/Views/admin/no_permission.php`

### `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.

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

**Usage**

```php
add_action('fluentform/editor_init', function($components) {
   // Do your stuff here
}, 10, 1);
```

**Reference**

`$this->app->doAction('fluentform/editor_init', $components);`

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