Clanbite Social Kit Since 1.6.2
class ComponentsRegisters reactions and @mentions as components, so Forums and other extensions ask the registry for them (clanbite_has_component( 'reactions' ), clanbite_render_component( 'reaction-summary', … )) instead of calling Social Kit's functions directly. A site without Social Kit simply has none of these components.
class final
- Full name
Kernowdev\ClanbiteSocialKit\Social\Components
Methods
register_components()Register the components.register()Hook the registration (needs Clanbite 1.6.4+; older core ignores it).
Defined in inc/Social/Components.php
Changelog
| Version | Description |
|---|---|
| 1.6.2 | Introduced. |