---
name: "config_is_hooked"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/config_is_hooked"
---

# config\_is\_hooked(3alleg)

Tells if a config section has custom hooks. Allegro game programming library.

## NAME

config\_is\_hooked - Tells if a config section has custom hooks. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int config\_is\_hooked(const char \*section);**

## DESCRIPTION

Returns TRUE if the specified config section has been hooked. Example:

```
   if (config_is_hooked("high_scores")) {
      hook_config_section("high_scores, NULL, NULL, NULL);
   }
```

## SEE ALSO

[**hook\_config\_section**(3alleg)](/hook_config_section/3alleg.md)
