Clanbite Forums Since 1.3.5
class Shared_ReactionsRegisters forum_topic and forum_reply with Social Kit so reactions in the forums use the same toggle API, REST route and filters as the feed (clanbite_social_kit_can_react, clanbite_social_kit_object_reaction_toggled).
Forums reactions are an enhancement that needs Social Kit: this class only registers when Social Kit is active, and without it the forums simply have no reactions. Storage stays in the Forums tables, so no data moves.
class final
- Full name
Kernowdev\ClanbiteForums\Forums\Shared_Reactions
Methods
register_object_types()Register the object types (runs on clanbite_social_kit_register_reactables, so Social Kit is loaded).register()Hook the registration.
Defined in inc/Forums/Shared_Reactions.php
Changelog
| Version | Description |
|---|---|
| 1.3.5 | Introduced. |