# Helpers

For those of you that have looked through[ the code of the Helpers Module](https://github.com/deep-web-solutions/wordpress-framework-helpers) on GitHub, you should've stumbled upon the [`HooksHelpersTrait`](https://github.com/deep-web-solutions/wordpress-framework-helpers/blob/master/src/includes/WordPress/Hooks/HooksHelpersTrait.php) and the [`AssetsHelpersTrait`](https://github.com/deep-web-solutions/wordpress-framework-helpers/blob/master/src/includes/WordPress/Assets/AssetsHelpersTrait.php) traits. They provide methods for generating programmatically hook tags and asset handles, respectively.

The Foundations Module extends upon the methods defined in those two traits by taking into account the role of the using class. Specifically, it takes into account whether the using class implements any of the `PluginComponentInterface`, `PluginAwareInterface`, or `PluginInterface` interfaces in this order.

You can check out the enhanced versions of these traits [here](https://github.com/deep-web-solutions/wordpress-framework-foundations/tree/master/src/includes/Helpers). It's recommended to use them every time you work with hooks and assets in order have a consistent naming scheme.


---

# 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://framework.deep-web-solutions.com/helpers.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.
