gpnf_preload_form

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

Description

Preload the form but do not echo it out. This is important for making sure all CSS/JS gets enqueued if enqueueing logic during the form.

This addition was necessary for compatibility with GP Populate Anything’s Live Merge Tags.

Usage

Filter preloading form for all Nested Forms.

add_filter( 'gpnf_preload_form', '__return_true' );

Filter preloading for specific Nested Form.

add_filter( 'gpnf_preload_form_FORMID', '__return_true' );

Parameters

  • value bool

    Whether or not to pre-load (but not echo to document) the form.

  • form array

    The current form.

Since

This filter is available since Gravity Forms Nested Forms 1.0-beta-9.4.