daan / edd-non-required-state-field
Dynamically detect if State should be a required field, based on the selected Country.
Package info
github.com/Dan0sz/edd-non-required-state-field
Type:wordpress-plugin
pkg:composer/daan/edd-non-required-state-field
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-21 20:41:15 UTC
README
Dynamically detect if State should be a required field, based on the selected Country.
For any country with a predefined list of states, e.g. US and CA, the State field is a required field. For any other country, where the State field is a text box, it becomes a non-required entry.
Inspired by and an enhanced version of: http://library.easydigitaldownloads.com/checkout/non-required-card-state.html