# Filters

- [Query & Output](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output.md)
- [asp\_query\_args](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output/asp_query_args.md)
- [asp\_query\_{type}](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output/asp_query_-type.md): Gives access to the query string, before executing.
- [asp\_cached\_content](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output/asp_cached_content.md): Filters the cached content output for the live search
- [asp\_pre\_get\_front\_filters](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output/asp_pre_get_front_filters.md): Runs before the array of frontend filter objects are returned to the output handler.
- [asp\_before\_ajax\_output](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output/asp_before_ajax_output.md): Executed on the ajax search results output.
- [asp\_shortcode\_output](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output/asp_shortcode_output.md): Allows manipulating the executed search shortcode output
- [asp\_print\_search\_query](https://knowledgebase.ajaxsearchpro.com/hooks/filters/query-and-output/asp_print_search_query.md): Allows changing the value (search query) before printed to the search input field on the search results page
- [Keyword Suggestions](https://knowledgebase.ajaxsearchpro.com/hooks/filters/keyword-suggestions.md): Keyword suggestion and autocomplete hooks
- [Search Results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results.md)
- [asp\_suggested\_phrases](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_suggested_phrases.md)
- [asp\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_results.md): Let's you access the results array before sending it to the templating system.
- [asp\_cpt\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_cpt_results.md): Gives access the term results results array before sending it to the templating system.
- [asp\_buddyp\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_buddyp_results.md): Gives access the budyypress results results array before sending it to the templating system.
- [asp\_attachment\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_attachment_results.md): Gives access the attachment results results array before sending it to the templating system.
- [asp\_comment\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_comment_results.md): Gives access the comment results results array before sending it to the templating system.
- [asp\_blog\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_blog_results.md): Gives access the multisite blog results results array before sending it to the templating system.
- [asp\_terms\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_terms_results.md): Let's you access the term results results array before sending it to the templating system.
- [asp\_peepso\_group\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_peepso_group_results.md): Gives access the peepso group results results array before sending it to the templating system.
- [asp\_peepso\_activities\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_peepso_activities_results.md): Gives access the peepso activites results results array before sending it to the templating system.
- [asp\_only\_keyword\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_only_keyword_results.md): Gives access to the live search suggested keywords array before sending them to the templating system.
- [asp\_only\_non\_keyword\_results](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_only_non_keyword_results.md): Gives access the results array before sending it to the templating system.
- [asp\_result\_groups](https://knowledgebase.ajaxsearchpro.com/hooks/filters/search-results/asp_result_groups.md): Search results when the results grouping feature is enabled
- [CSS & JS](https://knowledgebase.ajaxsearchpro.com/hooks/filters/css-and-js.md)
- [asp/assets/load](https://knowledgebase.ajaxsearchpro.com/hooks/filters/css-and-js/asp_load_css_js.md): Hook to control loading both the CSS and JS assets on the site front-end.
- [asp/assets/load/js](https://knowledgebase.ajaxsearchpro.com/hooks/filters/css-and-js/asp_load_js.md): Hook to control the loading of plugin javascript files programmatically for the site front-end.
- [asp/assets/load/css](https://knowledgebase.ajaxsearchpro.com/hooks/filters/css-and-js/asp_load_css.md): Hook to control the loading of plugin stylesheet (CSS) files programmatically for the site front-end.
- [Template & Output](https://knowledgebase.ajaxsearchpro.com/hooks/filters/template-and-output.md)
- [asp\_icl\_t](https://knowledgebase.ajaxsearchpro.com/hooks/filters/template-and-output/asp_icl_t.md): Fires before the translation for front-end components
- [Index Table Related](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related.md): Index Table related plugin hooks
- [asp\_index\_on\_save\_stop](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_index_on_save_stop.md): Allows stopping the indexing process when a new post is added or an existing one is saved
- [asp\_indexing\_keywords](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_indexing_keywords.md): Keywords before the index table engine inserts them into the database
- [asp\_indexing\_string\_pre\_process](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_indexing_string_pre_process.md)
- [asp\_indexing\_string\_post\_process](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_indexing_string_post_process.md)
- [asp\_post\_content\_before\_tokenize\_clear](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_post_content_before_tokenize_clear.md)
- [asp\_post\_content\_before\_tokenize](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_post_content_before_tokenize.md)
- [asp\_post\_excerpt\_before\_tokenize](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_post_excerpt_before_tokenize.md)
- [asp\_post\_title\_before\_tokenize](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_post_title_before_tokenize.md)
- [asp\_file\_contents\_before\_tokenize](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_file_contents_before_tokenize.md)
- [asp\_post\_permalink\_before\_tokenize](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_post_permalink_before_tokenize.md)
- [asp\_index\_terms](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_index_terms.md)
- [asp\_post\_custom\_field\_before\_tokenize](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_post_custom_field_before_tokenize.md)
- [asp\_index\_cf\_contents\_before\_tokenize](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_index_cf_contents_before_tokenize.md)
- [asp\_index\_before\_shortcode\_execution](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_index_before_shortcode_execution.md)
- [asp\_index\_after\_shortcode\_execution](https://knowledgebase.ajaxsearchpro.com/hooks/filters/index-table-related/asp_index_after_shortcode_execution.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.ajaxsearchpro.com/hooks/filters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
