# LibTmux.Options.knownHooks

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Options.hs#L104
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-options-v-knownhooks/

```haskell
knownHooks :: Capabilities -> [HookInfo]
```

Signature types: [`Capabilities`](/en/haskell/latest/reference/libtmux-capabilities-t-capabilities/), [`HookInfo`](/en/haskell/latest/reference/libtmux-options-t-hookinfo/).

List the known hooks by event name, with the same version selection as
 [`knownOptions`](/en/haskell/latest/reference/libtmux-options-v-knownoptions/).

## Referenced declarations

- [`LibTmux.Capabilities.Capabilities`](/en/haskell/latest/reference/libtmux-capabilities-t-capabilities/) (data type)
- [`LibTmux.Options.HookInfo`](/en/haskell/latest/reference/libtmux-options-t-hookinfo/) (data type)

## Guides

Pages that discuss `knownHooks`.

- [Read and change options and hooks](/en/haskell/latest/guides/options/)
