# Cost Calculator Hooks

A hook is a piece of code that programmers use to change or extend applications or operating systems by catching and working with messages or events that happen inside them.&#x20;

#### Where to put your code?

If you want to add a special piece of code to your website, you can place it in the [WPCode ](https://wordpress.org/plugins/insert-headers-and-footers/)plugin, your child theme's functions.php, or your own custom plugin.

Before you make any changes to the code, make sure you have FTP access in case there are mistakes.

{% hint style="info" %}
Important: This guide has PHP code and is meant for developers. We share the code as a friendly gesture but don't provide support for code customization or third-party development.
{% endhint %}

There are lists of hooks used in the Cost Calculator plugin for:

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Order Management Hooks</strong></td><td>These hooks let developers customize Orders in the Cost Calculator.</td><td></td><td><a href="/pages/nlYT0ABdavI4KoTbJpVX">/pages/nlYT0ABdavI4KoTbJpVX</a></td><td><a href="/files/wyFtky7iVAWjcQKIGZ6W">/files/wyFtky7iVAWjcQKIGZ6W</a></td></tr><tr><td><strong>Contact Form Hooks</strong></td><td>These hooks let developers customize Contact Form in the Cost Calculator.</td><td></td><td><a href="/pages/oLmUUcrQxNBdeNornzzw">/pages/oLmUUcrQxNBdeNornzzw</a></td><td><a href="/files/TENlXVkrZScIC7D92gML">/files/TENlXVkrZScIC7D92gML</a></td></tr><tr><td><strong>Confirmation Page Hooks</strong></td><td>These hooks let developers customize Confirmation Page in the Cost Calculator.</td><td></td><td><a href="/pages/JAQ4YmtJ4l2s5kVwuPx4">/pages/JAQ4YmtJ4l2s5kVwuPx4</a></td><td><a href="/files/ROwRZ0kqhKx3kqN6ZIMX">/files/ROwRZ0kqhKx3kqN6ZIMX</a></td></tr><tr><td><strong>Email Hooks</strong></td><td>These hooks let developers customize Email in the Cost Calculator.</td><td></td><td><a href="/pages/OXRR8MERYtu0AxCpkkE7">/pages/OXRR8MERYtu0AxCpkkE7</a></td><td><a href="/files/NEn5VOnk9Ismt80WAZft">/files/NEn5VOnk9Ismt80WAZft</a></td></tr></tbody></table>


---

# 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/cost-calculator-builder/develeopers-guide/cost-calculator-hooks.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.
