View Categories

fluentform/all_editor_shortcodes

Description  #

This filter returns all editor shortcodes.

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

Usage   #

The following would apply to all forms:

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 file of your active theme.

Source Code #

This filter is located in FluentForm\boot\globals.php -> fluentFormGetAllEditorShortCodes($form)