# Hooks & Actions

## Filters

* **stm\_filter\_listing\_filter** - Hook in filter response(json).
* **stm\_filter\_locate\_template** - Hook in template loader.
* **stm\_filter\_price\_view** - Hook in price view (Also simply changes in WP Customizer).
* **stm\_filter\_price\_currency** - Hook in price currency (Also simply changes in WP Customizer).
* **stm\_filter\_ajax\_filter** - Hook in filter response after ajax (json).
* **stm\_filter\_user\_restrictions** - Hook in user restrictions.
* **stm\_filter\_user\_fields** - Hook in user fields.
* **stm\_filter\_display\_user\_name** - Hook in user displayed name.
* **stm\_filter\_custom\_login** - Hook in custom login (json).
* **stm\_filter\_custom\_register** - Hook in custom registration (json).
* **stm\_filter\_price\_view** - Hook in price view.
* **stm\_filter\_add\_a\_car** - Hook in add a car (json).
* **stm\_filter\_add\_car\_media** - Hook in add a car media (json).
* **stm\_filter\_add\_car\_page\_url** - Hook in add a car page url (link).

## Actions

* **stm\_listing\_filter\_before** - Before filter inside.
* **stm\_listing\_filter\_after** - After filter inside.
* **stm\_car\_user\_info\_before\_action** - Add a car user info Before.
* **stm\_car\_user\_info\_after\_action** - Add a car user info After.


---

# 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://docs.stylemixthemes.com/motors-theme-documentation/customization/hooks-and-actions.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.
