Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Filter whether to override the required attribute for address i18n locale information.
IMPORTANT:
This filter is intended to be used with some 3rd-party Checkout Field Editor plugins.
Be extra careful when changing the list of attributes to override for address i18n (internationalization), as it may cause other fields to behave unexpectedly, such as the State field becoming optional when it should be required.
Use fc_checkout_address_i18n_override_locale_field_attributes instead for applying overrides for specific fields.
Parameters
$override_required(bool) Whether to override therequiredattribute for address i18n. Defaults tofalse.
Examples #
/**
* Override locale required attributes with checkout field attributes
*/
add_filter( 'fc_checkout_address_i18n_override_locale_required_attribute', '__return_true', 10 );
