Back to list of all filter and action hooks for Google Address Autocomplete.
Description #
Enable/disable Google Address Autocomplete compatibility features for specific themes.
Modifiers #
{$theme_slug}
(string) The theme folder name/slug. Example:Divi
,Astra
.
Parameters #
$enabled
(bool) Whether the compatibility features for this theme should be enabled or not. Defaults totrue
.
Examples #
/**
* Disable compatibility for a specific theme
*/
add_filter( 'fc_gaa_enable_compat_theme_Divi', '__return_false', 10 );