Skip to content

How to exclude an addon from alerts monitoring

Feed Error Alerts automatically tracks feed errors for any Gravity Forms addon that supports the standard error mechanism. But if you want to exclude specific addons from error monitoring—for example, custom addons, internal testing feeds, or ones not relevant to your alerts—you can do that easily.

You have two options: via the settings UI or programmatically.

Excluding addons via settings

The easiest way is through the plugin settings screen:

  • Navigate to:
    FormsSettingsFeed Errors
  • Scroll down to the Ignore Errors section
  • Check any addons you’d like to exclude

Excluding addons via code (filter)

To exclude addons programmatically, use the gffea_ignored_addon_slugs filter and provide an array of addon slugs (not the addon names).

Each Gravity Forms feed addon that extends GFFeedAddOn includes a protected $_slug property (e.g. gravityformsslack) and a get_slug() method. This is the value Feed Error Alerts uses to identify addons internally.

You can find a plugin’s slug by:

  • Checking the main class file for the $_slug property
  • Or programmatically calling the get_slug() method in the addon class

Example: Ignore Slack and a custom addon

<?php
add_filter( 'gffea_ignored_addon_slugs', function( $slugs ) {
    if ( class_exists("GFSlack") ) {
        $slugs[] = GFSlack::get_instance()->get_slug();
    }
    $slugs[] = 'mycustomfeedaddon';// Your own slug
    return array_unique($slugs);
});

What happens when an addon is ignored?

When an addon is excluded:

  • Feed errors for it will not be stored
  • Alerts will not be triggered for its failures
  • It will be hidden from the Feed Error Alerts dashboard and stats

This is useful when:

  • The addon isn’t critical to your form workflows
  • You want to reduce noise in alert digests
  • You’re troubleshooting or sandboxing

Summary

MethodUse Case
Settings UIFor quick manual exclusion
gffea_ignored_addon_slugs filterFor automated or environment-based control

Need help?

Not sure what slug to use? Want help confirming an addon’s compatibility? Contact us or browse the Which Addons Work with Feed Error Alerts? article for more details.