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.
includes/Core/Plugin.php
Basic Usage
add_filter( 'formcierge_addons', function ( $addons ) {
$addons[] = [
'id' => 'my-addon',
'name' => 'My Custom Addon',
'active' => true,
];
return $addons;
} );