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 trigger any custom actions.
Filters #
fc_gaa_settings
Modify the JavaScript settings object that gets passed to the frontend scripts.fc_gaa_brasil_api_autocomplete_js_settings
Modify the Brasil API frontend script settings.fc_gaa_enable_compat_plugin_{plugin_slug}
Enable/disable compatibility features for specific plugins.fc_gaa_enable_compat_theme_{theme_slug}
Enable/disable compatibility features for specific themes.fc_gaa_google_places_api_script_dependencies
Modify dependencies for the Google Places API script.fc_gaa_google_places_api_language
Override the Google Places API language setting.fc_gaa_google_places_api_url_parameters
Modify the URL parameters for the Google Places API script.fc_gaa_google_autocomplete_js_settings
Modify the Google Autocomplete frontend script settings. Often used to modify the mapping of the checkout fields to the data returned by the Google APIs.fc_gaa_use_field_description_for_instructions
Control whether field descriptions are used for instructions.fc_gaa_is_checkout_page_or_fragment
Add custom conditions for determining if current page is checkout.fc_gaa_display_legacy_api_settings
Force enable displaying the options for the Places API (Legacy) in the plugin settings.