# hook_pane

Source: https://libtmux.org/en/tmux/latest/catalog/formats/hook_pane/

> ID of pane where hook was run, if any

format variable tmux3.7c

ID of pane where hook was run, if any

* Type

  Text

* Usage

  `#{hook_pane}`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/formats/hook_pane/#description)

ID of pane where hook was run, if any

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/formats/hook_pane/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/formats/hook_pane/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/formats/hook_pane/) : present

## Source[#](https://libtmux.org/en/tmux/latest/catalog/formats/hook_pane/#source)

* Defined in

  [`notify.c:212`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L212)

* C source reference

  [`format_table`](https://libtmux.org/en/tmux/latest/reference/c-variable-format-c-format_table/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#hook_pane)
