Description #
This filter returns the active feeds for the current form ID.
apply_filters('fluentform/global_notification_active_types', [], $form->id);
Usage #
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 file of your active theme.
Source Code #
This filter is located in FluentForm\App\Hooks\Handlers\GlobalNotificationHandler -> globalNotify()