gpac_is_applicable_form

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

Description

Filter whether GPAC’s frontend script should be loaded for a form that has no native calculation fields. This allows other plugins (e.g. GP Advanced Conditional Logic) to signal that they need GPAC’s formula processing pipeline on the frontend.

Usage

Applied globally

add_filter( 'gpac_is_applicable_form', 'my_custom_function' );

Parameters

$is_applicable bool

Whether the form is applicable. Default false at this point.

$form array

The current form object.

Since

  • 1.1.22 Hook added.