Best practices #
If you are unsure about how to add the code snippet to your website, check our article:
How to safely add code snippets to your WooCommerce website
Actions #
Currently this add-on does not call any custom actions.
Filters #
fc_gaa_settings
Modify the JavaScript settings object that gets passed to the frontendfc_gaa_brasil_api_autocomplete_js_settings
Modify the Brasil API integration settingsfc_gaa_enable_compat_plugin_{plugin_slug}
Enable/disable Google Address Autocomplete compatibility features for specific pluginsfc_gaa_enable_compat_theme_{theme_slug}
Enable/disable Google Address Autocomplete compatibility features for specific themesfc_gaa_google_places_api_script_dependencies
Modify the script dependencies for the Google Places APIfc_gaa_google_places_api_language
Override the Google Places API language settingfc_gaa_google_places_api_url_parameters
Modify the URL parameters for the Google Places API scriptfc_gaa_google_autocomplete_js_settings
Modify the Google Autocomplete JavaScript settings. Often used for city and state value mappingsfc_gaa_use_field_description_for_instructions
Control whether field descriptions are used for instructionsfc_gaa_is_checkout_page_or_fragment
Add custom conditions for determining if current page is checkout