wp-search-with-algolia icon indicating copy to clipboard operation
wp-search-with-algolia copied to clipboard

Filtering Autocomplete debounce values only works after saving Autocomplete settings.

Open tw2113 opened this issue 6 months ago • 0 comments

For something like this to take:

add_filter( 'algolia_autocomplete_debounce_wdsa_searchable_posts', function($value) {
	return 5000;
} );

I need to save the code, and then also go to the Autocomplete settings page and click save, before the 5000 will appear on the frontend in the autocomplete sources area of the algolia JSON object.

What can we do to perhaps have this filtering take place as things are "going out", over something that's getting pushed into a saved option?

tw2113 avatar Jun 23 '25 19:06 tw2113