apply_filters( 'searchResults', results, group, field, current_element, parameters ) → {Object}

Filter the search results

Parameters:
Name Type Description
results Object

The search results

group string

The group name

field Object

The field object

current_element Object

The current element who triggered the event

parameters Object

The search parameters

Source:
Returns:

results - The search results

Type
Object

do_action( 'searchResults', results, group, field, current_element, parameters, index )

Triggered when the search results are loaded

Parameters:
Name Type Description
results Object

The search results

group string

The group name

field Object

The field object

current_element Object

The current element who triggered the event

parameters Object

The search parameters

index Object

The meilisearch index

Source: