# clanbite_forums_render_component()

Render a component from the registry, or through the provider's old function on an older Clanbite.

```php
clanbite_forums_render_component( string $component, array $args, string $legacy_fn = '' ): string
```

## Parameters

- `$component` (string) Component slug.
- `$args` (array<string, mixed>) Component arguments.
- `$legacy_fn` (string) Provider function used when the registry is missing (optional).

## Return

`string` 

## Changelog

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