gpadvs_is_lazy_loaded_field

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

Description

Allows you to customize whether or not a field should lazy load search results.

Usage

Applies the filter to all forms and fields.

add_filter( 'gpadvs_is_lazy_loaded_field', '__return_true' );

Applies the filter to a specific form.

add_filter( 'gpadvs_is_lazy_loaded_field_FORMID', '__return_true' );

Applies the filter to a specific field in a specific form.

add_filter( 'gpadvs_is_lazy_loaded_field_FORMID_FIELDID', '__return_true' );

Parameters

  • is_lazy_loaded bool

    Whether or not to lazy load the field.

  • field \GF_Field|array

    The field to check.

Since

This filter is available since Gravity Forms Advanced Select 1.0-beta-1.