> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kiwify.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# all_modules

> The all_modules object contains all modules added to your club.

You can use `all_modules` to access a module by its ID. This returns the <a href="/en/members-area/reference/objects/module">Module</a> object for the specified module. If the module isn't found, then `null` is returned.

The all\_modules object is decided on runtime, so it's not a static object. It's different for each user, based on what group they belong to, if they've classes unlocked now, etc.

## Syntax

```liquid theme={null}
{{ all_modules[module_id] }}
```

## Scope

It's accessible globally, in any template, section or block.

<Frame>
  ```mermaid theme={null}
  graph TD
      A[Global Context] --> B[all_modules]
      style A fill:#f9f9f9,stroke:#333,stroke-width:2px,color:#333,stroke-dasharray: 5 5
      style B fill:#4B96FF,stroke:#333,stroke-width:1px,color:white,font-weight:bold
      linkStyle 0 stroke:#4B96FF,stroke-width:2px
  ```
</Frame>

## Example

<Columns cols={2}>
  <CodeGroup>
    ```liquid Code theme={null}
    {{ all_modules["my-module"].name }}
    ```

    ```json Data theme={null}
    // Just an example initial data, the data is not real
    {
      "all_modules": {
        "my-module": {
          "name": "Basic Recipes"
        }
      }
    }
    ```
  </CodeGroup>

  <CodeGroup>
    ```liquid Output theme={null}
    Basic Recipes
    ```
  </CodeGroup>
</Columns>
