# Libtmux.Operations.remove_hook

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L1217
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-remove_hook/

```
val remove_hook : ?index:int -> Options.scope -> string -> unit Command.t
```

Remove the local hook or one indexed array entry. An inherited hook may become effective again; this does not stop work it already started.

## Parameters

- `index?` (`int`)
- `arg1` (`Options.scope`)
- `arg2` (`string`)
