gpld_disable_inline_date_picker_default_date

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

Description

Filter whether the Inline Date Picker should select a date by default.

Usage

Filter whether all Inline Date Pickers should select a date by default.

add_filter( 'gpld_disable_inline_date_picker_default_date', '__return_true' );

Filter whether all Inline Date Pickers in a form should select a date by default.

add_filter( 'gpld_disable_inline_date_picker_default_date_FORMID', '__return_true' );

Filter whether a specific Inline Date Picker should select a date by default.

add_filter( 'gpld_disable_inline_date_picker_default_date_FORMID_FIELDID', '__return_true' );

Parameters

  • value bool

    Whether the Inline Date Picker should select a date by default. Defaults to true

  • field \GF_Field

    The current field.

  • form array

    The current form.

Since

This filter is available since Gravity Forms Limit Dates 1.1.17.