gppt_is_enabled

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

Description

Filter whether page transitions is enabled for a form or not. Useful for other plugins to disable page transitions if AJAX forms are not supported.

Usage

Filter whether page transitions is enabled for all forms.

add_filter( 'gppt_is_enabled', '__return_true' );

Filter whether page transitions is enabled for a specific form.

add_filter( 'gppt_is_enabled_FORMID', '__return_true' );

Parameters

  • is_enabled bool

    Whether page transitions is enabled.

  • form array

    The current form.

Since

This filter is available since Gravity Forms Page Transitions 1.0-beta-2.7.