Back to list of all filter and action hooks for Google Address Autocomplete.
Description #
Force enable displaying the options for the Places API (Legacy) in the plugin settings.
By default these options will only be displayed if the Google Address Autocomplete plugin had been installed prior to March, 2025 when that version of the Google Places API was set to legacy status.
Parameters #
$should_display
(bool) Whether to force displaying the the options for the Places API (Legacy) in the plugin settings. Defaults tofalse
, not forcing display.
Examples #
/**
* Force display Google Places API (Legacy) settings.
*/
add_filter( 'fc_gaa_display_legacy_api_settings', '__return_true', 10 );