Clanbite Forums Since 1.3.5

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

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

Namespace: Kernowdev\ClanbiteForums

Parameters

$component (string) Required

Component slug.

$args (array<string, mixed>) Required

Component arguments.

$legacy_fn (string) Optional

Provider function used when the registry is missing (optional).

Default: ''

Returns

string

Defined in inc/functions.php

Changelog

VersionDescription
1.3.5Introduced.