---
title: fluentform/all_editor_shortcodes
description: "## Description  This filter returns all editor shortcodes. ```php apply_filters('fluentform/all_editor_shortcodes', $shortcodes); ``` ## Usage   The following would apply to all forms: ```php add_filter('fluentform/all_editor_shortcodes', function ($editorShortCodes, $form) { // Do your stuff here return $editorShortCodes; }, 10, 2); ``` ## Parameters…"
url: "https://fluentforms.com/docs/fluentform_all_editor_shortcodes/"
updated: "2023-07-21"
category: Filter Hooks
---

# fluentform/all_editor_shortcodes

## Description 

This filter returns all editor shortcodes.

```php
apply_filters('fluentform/all_editor_shortcodes', $shortcodes);
```

## Usage  

The following would apply to all forms:

```php
add_filter('fluentform/all_editor_shortcodes', function ($editorShortCodes, $form) {
    // Do your stuff here

    return $editorShortCodes;
}, 10, 2);
```

## Parameters

- **$shortcodes** (array) Shortcodes
- **$form** (Object) Form Object

## Placement

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 filter is located in FluentForm\boot\globals.php -> fluentFormGetAllEditorShortCodes($form)
