flowcrafter_addon_is_compatible

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Allow or block a Gravity Forms add-on
  5. Since

Description

Filter whether a feed add-on can be used in a workflow’s GF Feed step.

Usage

Allow or block a Gravity Forms add-on.

add_filter( 'flowcrafter_addon_is_compatible', 'my_custom_function' );

Parameters

$compatible bool

Whether the add-on is compatible. False for payment add-ons.

$slug string

The add-on slug.

$addon object

The add-on instance.

Examples

Allow or block a Gravity Forms add-on

add_filter( 'flowcrafter_addon_is_compatible', fn( $compatible, $slug ) => $slug === 'my-addon' ? true : $compatible, 10, 2 );

Since

  • 1.0-beta-1 Hook added.