Easy Digital Downloads - Non Required State Field
Makes the State field not required depending on the selected country in Easy Digital Downloads.
by Daan from Daan.dev · github.com/dan0sz/edd-non-required-state-field
★ 0stars
1release downloads
11composer installs
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/dan0sz/edd-non-required-state-field/releases/download/v1.0.1/edd-non-required-state-field.zipAlso on Packagist as daan/edd-non-required-state-field:
composer require daan/edd-non-required-state-fieldDeclares an update source (Dan0sz/non-required-state-field), so updates arrive through the plugin's own updater.
From the readme
Non-required Card State Field for Easy Digital Downloads
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
Read the full README on GitHub →