Skip to main content

Filter: gform_address_types

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id

Example hook names:

  • gform_address_types (base hook)
  • gform_address_types_1 (with first modifier value)

Filters the address types available.

Parameters

NameTypeDescription
$addressTypesarrayContains the details for existing address types.
$form_idintThe form ID.

Since

  • Unknown: Unknown

Source

Defined in includes/fields/class-gf-field-address.php at line 517