# clanbite_forums_has_component()

Whether a Clanbite component (provided by another extension) is available.

Asks the core components registry; on a Clanbite without it, falls back to checking for the provider's old function so the forums
keep working next to an older core.

```php
clanbite_forums_has_component( string $component, string $legacy_fn ): bool
```

## Parameters

- `$component` (string) Component slug (`reactions`, `mentions`…).
- `$legacy_fn` (string) Function the provider exposed before the registry existed.

## Return

`bool` 

## Changelog

| Version | Description |
| --- | --- |
| 1.3.5 | Introduced |
