# Plugin API

*This section is recommended for developers only. If you are not familiar with PHP, javascript and WordPress programming, I suggest you rather ask for advice from a developer.*

The plugin provides an API for developers. This API provides a good way of making changes in the plugin behavior without thouching the plugin code.

Before altering the plugin code for your needs, consider looking for an action or filter hook in this reference. Using hooks is a redundant and update proof way of making changes.

If you are a developer, but unfamiliar with WordPress hooks, then please study the [WordPress plugin API](https://codex.wordpress.org/Plugin_API) first.

* [Actions list and usage](/plugin-api/actions-list-and-usage.md)
* [Filters list and usage](/plugin-api/filters-list-and-usage.md)
* [asp\_query\_args special filter](https://knowledgebase.ajaxsearchpro.com/hooks/filters/asp_query_args)
* [Theme functions](/plugin-api/theme-functions.md)
* [Front-end filters API](/plugin-api/front-end-filters-api.md)
* ASP\_Query Class


---

# 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://documentation.ajaxsearchpro.com/plugin-api.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.
