Filter: gform_address_types
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_address_types(base hook)gform_address_types_1(with first modifier value)
Filters the address types available.
Parameters
| Name | Type | Description |
|---|---|---|
| $addressTypes | array | Contains the details for existing address types. |
| $form_id | int | The form ID. |
Since
- Unknown: Unknown
Source
Defined in includes/fields/class-gf-field-address.php at line 517