gplc_disable_choices

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

Description

Filter whether choices should be disabled.

Usage

Apply to all forms and fields.

add_filter( 'gplc_disable_choices', '__return_false' );

Apply to all fields of a specific form.

add_filter( 'gplc_disable_choices_FORMID', '__return_false' );

Apply to a specific form and field.

add_filter( 'gplc_disable_choices_FORMID_FIELDID', '__return_false' );

Parameters

  • disable_choices bool

    Should choices be disabled? Defaults to true.

Since

This filter is available since GP Limit Choices 1.4.3.