fluentform_global_addons

Description  #

This filter returns the list for global addon modules.

apply_filters('fluentform_global_addons', []);

Usage   #

add_filter('fluentform_global_addons', function ($addons) use ($isEnabled) {
             $addons['zapier'] = [
                 'title' => 'Title',
                 'category' => 'crm',
                 'description' => 'Description',
                 'logo' => '',
                 'enabled' => ($isEnabled) ? 'yes' : 'no'
             ];
             return $addons;
         });

Parameters #

  • $addons (array) Addon Modules

Placement #

This code should be placed in the functions.php file of your active theme.

Source Code #

This filter is located in app/Modules/AddOnModule.php

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *