| 开发者 | izzygld |
|---|---|
| 更新时间 | 2026年5月21日 00:33 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{all_fields} output mixing full city names with state codes.gform_merge_tag_filter and, only when the merge tag targets an Address field's State sub-input (X.4) and the value is exactly a 2-letter code, expands it back to the full state name that Gravity Forms uses in its Address field dropdown.
Key Features
fsn_gf_state_map filter for non-US addresses or translated labelsfsn_gf_expanded_state_name to customize the replacement on a per-field basis{all_fields} merge tag{Address (State / Province):X.4} merge tagfull-state-name-for-gravity-forms folder to /wp-content/plugins/Yes. Gravity Forms 2.5 or higher must be installed and activated.
No. Stored entry data is untouched. The expansion only happens when the value is being rendered through a merge tag.
No. The plugin only acts when the value is exactly a 2-letter code. Anything longer (including the full names you're already seeing) passes through unchanged.
Yes — use the fsn_gf_state_map filter to merge in your own code-to-name pairs.
No. It only filters merge tag output. The submitted value, validation, and storage all behave exactly as Gravity Forms does by default.
FSN_GF_VERSION constant with plugin header versiongform_merge_tag_filter for Address X.4 sub-inputsfsn_gf_state_map filter to extend / override the code-to-name mapfsn_gf_expanded_state_name filter for per-replacement customization