Table of Contents
Description #
This filter pushes input editor components into the editor.
apply_filters('fluent_editor_components', $editorComponents, $formId);
Usage #
add_filter('fluent_editor_components', function ($components) {
$component = $this->getComponent();
if ($component) {
$components['advanced][] = $component;
}
return $components;
});
Parameters #
- $components (array) Components
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in app/Services/FormBuilder/BaseFieldManager.php