gpnf_modal_button_passthrough_classes

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

Description

Filter the classes that will be passed through when added as buttons to the modal footer.

Usage

gform.addFilter('gpnf_modal_button_passthrough_classes', 'my_custom_function' );

Parameters

  • gpnfWhitelistClasses string[]

    An array of classes that will be passed through when added as buttons to the modal footer.

  • formId int

    The parent form ID.

  • fieldId int

    The field ID of the Nested Form field.

  • gpnf \GPNestedForms

    The current GP_Nested_Form_Field object.

Since

This filter is available since Gravity Forms Nested Forms 1.1.65