## Filter: wpd_ai_registered_integrations

Filter the list of registered integration instances (slug => WPDAI_Integration_Base) used by the Integrations Manager.

### Description

The manager stores integration instances that extend `WPDAI_Integration_Base`. This filter runs when retrieving that list (e.g. for display or to resolve an integration by slug). You can add, remove, or replace instances. Built-in integrations are loaded from `includes/integrations/register/` and `register/pro/`; custom integrations register via `wpd_ai_register_integrations`.

#### Location

File: `includes/integrations/WPDAI_Integrations_Manager.php`

Method: `get_registered_integrations()`

### Parameters

Parameter | Type | Description
--- | --- | ---
$integrations | array | Associative array of slug => WPDAI_Integration_Base instance

#### Return

Type: array

The (possibly modified) array of slug => integration instance.

### Example Usage

#### Remove an integration from the list

    add_filter( 'wpd_ai_registered_integrations', 'hide_webhooks_integration' );
    function hide_webhooks_integration( $integrations ) {
        unset( $integrations['webhooks'] );
        return $integrations;
    }

### Related

- wpd_ai_integration_metadata – Integration metadata for display
- wpd_ai_all_integrations_for_display – Merged list for UI
- Developers → Integrations – Registration and custom integrations