Skip to main content

Filter: gform_default_address_type

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id

Example hook names:

  • gform_default_address_type (base hook)
  • gform_default_address_type_1 (with first modifier value)

Allow the default address type to be overridden.

Parameters

NameTypeDescription
$default_address_typestringThe default address type of international.

Since

Source

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