diff --git a/source/php/Helper/Index.php b/source/php/Helper/Index.php index 4f78f4f1..a90a8f6f 100644 --- a/source/php/Helper/Index.php +++ b/source/php/Helper/Index.php @@ -34,6 +34,8 @@ public static function getIndex() 'X-Client-User' => get_current_user_id(), ]); + $config = apply_filters('AlgoliaIndex/Config', $config) ?? $config; + //Init client with config $client = \Algolia\AlgoliaSearch\SearchClient::createWithConfig($config);