> For the complete documentation index, see [llms.txt](https://docs.stylemixthemes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stylemixthemes.com/cost-calculator-builder/develeopers-guide/cost-calculator-hooks.md).

# Cost Calculator Hooks

This is a guide for developers to customize and extend Cost Calculator features with code.

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="/cost-calculator-builder/develeopers-guide/cost-calculator-hooks/order-management.md">Order Management</a></td><td><a href="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FLU8VOx4nTnHsqM4Zkka0%2Forders-ccb.jpeg?alt=media&amp;token=6051a290-e1bf-424b-a3a2-ed16677a0bdd">orders-ccb.jpeg</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="/cost-calculator-builder/develeopers-guide/cost-calculator-hooks/contact-form.md">Contact Form</a></td><td><a href="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FVIDUxGlC50IltXhciP6H%2FCost%20Calculator%20WordPress%20Plugin%20_%20Price%20Estimation%20Calculator%20-%20YouTube.png?alt=media&amp;token=3239f9d2-d120-4791-8c4c-ed1e32cadb6d">Cost Calculator WordPress Plugin _ Price Estimation Calculator - YouTube.png</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="/cost-calculator-builder/develeopers-guide/cost-calculator-hooks/confirmation-page.md">Confirmation Page</a></td><td><a href="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FuANNnTf9KrSWtBY3h6l4%2Ffb-instag-banner-success-A%20(1).png?alt=media&amp;token=f85ce137-a1c0-4ce8-a4d6-9ccad7a79144">fb-instag-banner-success-A (1).png</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="/cost-calculator-builder/develeopers-guide/cost-calculator-hooks/email.md">Email</a></td><td><a href="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2Fb0RUDZStqp80bKo57r9B%2FEmail%20Template_FB.png?alt=media&amp;token=aeec8b64-0631-4525-a5d2-421b83041dc3">Email Template_FB.png</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stylemixthemes.com/cost-calculator-builder/develeopers-guide/cost-calculator-hooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
