gpaa_place

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

Description

Filter the coordinates used on initial load.

Usage

Applied globally

add_filter( 'gpaa_place', 'my_custom_function' );

Applied to specific form

add_filter( 'gpaa_place_FORMID', 'my_custom_function' );

Applied to specific field

add_filter( 'gpaa_place_FORMID_FIELDID', 'my_custom_function' );

Parameters

$coords string

The coordinates in JSON format.

$field GF_Field

The current Address field.

Since

  • 1.2.9 Hook added.