gpb_value

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

Description

Filter the value checked against the blocklist.

Usage

Filter all values checked against the blocklist.

add_filter( 'gpb_value', 'my_custom_function' );

Filter values in a specific form checked against the blocklist.

add_filter( 'gpb_value_FORMID', 'my_custom_function' );

Filter a specific field’s value checked against the blocklist.

add_filter( 'gpb_value_FORMID_FIELDID', 'my_custom_function' );

Parameters

  • value string

    The value to check against the blocklist.

  • form array

    The current form object.

  • field array

    The current field object if provided.

Since

This filter is available since Gravity Forms Blocklist 1.3.8.