gpaa_coords

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

Description

Filter the coordinates used on initial load.

Usage

Apply to all fields on all forms.

add_filter( 'gpaa_coords', 'my_custom_function' );

Apply to all fields on a specific form.

add_filter( 'gpaa_coords_FORM_ID', 'my_custom_function' );

Apply to a specific field on a specific form.

add_filter( 'gpaa_coords_FORM_ID_FIELD_ID', 'my_custom_function' );

Parameters

  • coords string

    The coordinates in JSON format.

  • field \GF_Field

    The current Address field.

Since

This filter is available since Gravity Forms Address Autocomplete 1.2.9.