formcierge_addons
Filter

Since v1.0.0

Filter the list of registered Formcierge addons. Each entry describes an addon's metadata and activation status. Use to register or conditionally disable addons programmatically.

Parameters
$addons array Array of addon definition arrays, each with keys: id, name, active.
Defined in
includes/Core/Plugin.php
add_filter( 'formcierge_addons', function ( $addons ) {
    $addons[] = [
        'id'     => 'my-addon',
        'name'   => 'My Custom Addon',
        'active' => true,
    ];
    return $addons;
} );