gpls_should_apply_rules

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Allows filtering of whether or not the limit submission rules should be applied.

Usage

add_filter( 'gpls_should_apply_rules', '__return_true' );

Parameters

  • should_apply_rules bool

    Whether or not we should apply the limit submission rules.

  • form_id int

    The ID of the form being tested.

  • gpls_rule_test \GPLS_RuleTest

    The current instance of the GPLS_RuleTest class.

Since

This filter is available since Gravity Forms Limit Submissions 1.1.6.