Classes 3

  • Components clanbite-social-kit
    Registers 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.
  • Reaction_Markup clanbite-social-kit
    The one place the reaction chips and the reaction picker are written.
  • Reactions clanbite-social-kit
    Reactions for anything, owned by Social Kit.

Components 4

  • mentions clanbite-social-kit
    Turns @username into profile links (respecting each member's privacy setting) and loads the @ picker for editors.
  • reaction-picker clanbite-social-kit
    The popover of reactions a member can choose from.
  • reaction-summary clanbite-social-kit
    The reaction chips of one object, each with a tooltip of who reacted.
  • reactions clanbite-social-kit
    Reactions for any registered object type: the toggle API, the REST route and the browser client.

Functions 11

Hooks 12

Messages 2

Methods 27

REST API 2