gpaa_init_args
Description
Filter the args to initialize Address Autocomplete on the frontend.
Usage
Filter the args to initialize Address Autocomplete on the frontend for all forms.
add_filter( 'gpaa_init_args', 'my_custom_function', 10, 1 );
Filter the args to initialize Address Autocomplete on the frontend for all fields in a specific form.
add_filter( 'gpaa_init_args_FORMID', 'my_custom_function', 10, 1 );
Filter the args to initialize Address Autocomplete for a specific field in a form.
add_filter( 'gpaa_init_args_FORMID_FIELDID', 'my_custom_function', 10, 1 );
Parameters
args array
Arguments used to initialize the JavaScript instance of GP_Address_Autocomplete.
field GF_Field
The current field.
form array
The current form.
Since
This filter is available since Gravity Forms Address Autocomplete 1.0.