---
title: fluentform/global_notification_active_types
description: "## Description  This filter returns the active feeds for the current form ID. ```php apply_filters('fluentform/global_notification_active_types', [], $form->id); ``` ## Usage   ```php add_filter('fluentform/global_notification_active_types', function ($types) { $types['notifications'] = 'email_notifications'; return $types; }); ``` ## Parameters - **$types** (array) Active Feeds ##…"
url: "https://fluentforms.com/docs/fluentform_global_notification_active_types/"
updated: "2023-07-24"
category: Filter Hooks
---

# fluentform/global_notification_active_types

## Description 

This filter returns the active feeds for the current form ID.

```php
apply_filters('fluentform/global_notification_active_types', [], $form->id);
```

## Usage  

```php
add_filter('fluentform/global_notification_active_types', function ($types) {
     $types['notifications'] = 'email_notifications';
     return $types;
 });
```

## Parameters

- **$types** (array) Active Feeds

## Placement

This code should be placed in the [functions.php](http://codex.wordpress.org/Theme_Development#Functions_File) file of your active theme.

## Source Code

This filter is located in FluentForm\App\Hooks\Handlers\GlobalNotificationHandler -> globalNotify()
