Clanbite Since 1.6.3

clanbite_has_component( string $slug ): bool

Whether a component can be used right now: registered, and every component it requires is available too.

Use this instead of function_exists() checks on another plugin's functions.

Parameters

$slug (string) Required

Component slug.

Returns

bool

Defined in inc/components.php

Changelog

VersionDescription
1.6.3Introduced.