gptos_disable_css

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

Description

Filter whether or not to output the Terms of Service Field’s CSS.

Usage

Disable outputting CSS for all Gravity Forms Terms of Service fields.

add_filter( 'gptos_disable_css', '__return_true' );

Disable outputting CSS for all Gravity Forms Terms of Service fields on a specific form.

add_filter( 'gptos_disable_css_FORMID', '__return_true' );

Parameters

  • disable_css bool

    Whether or not to disable the output of the Terms of Service Field’s CSS.

  • tos_field \GF_Field

    The current field object.

  • form_id int

    The current field ID.

  • entry_id int

    The current entry ID.

  • value mixed

    The current field value.

Since

This filter is available since Gravity Forms Terms of Service 1.3.4.