gpsa_gform_form_args

  1. Description
  2. Usage
  3. Parameters
  4. Since
  5. Examples
    1. Force the form title and description to display.

Description

Filter to modify the Gravity Forms form arguments.

This filter is essentially a wrapper around gform_form_args which is only applied in the context of Submit to Access blocking content access.

Usage

add_filter( 'gpsa_gform_form_args', 'my_custom_function' );

Parameters

See the current Gravity Forms documentation for gform_form_args for an up to date list of parameters.

Since

This filter is available since Gravity Forms Submit to Access 1.0.0.

Examples

Force the form title and description to display.

add_filter( 'gpsa_gform_form_args', function( $args ) {
    $args['display_title']       = true;
    $args['display_description'] = true;

    return $args;
} );