Clanbite Since 1.6.3
clanbite_has_component( string $slug ): boolWhether 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) RequiredComponent slug.
Returns
bool
Defined in inc/components.php
Changelog
| Version | Description |
|---|---|
| 1.6.3 | Introduced. |