Skip to content

Filtering Autocomplete debounce values only works after saving Autocomplete settings. #490

@tw2113

Description

@tw2113

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions