class Reaction_RegistryReaction slug definitions and helpers.
class final
- Full name
Kernowdev\ClanbiteSocialKit\Social\Reaction_Registry
Methods
allow_reaction()Whether toggling this reaction is allowed (after registration check).default_types()Core defaults before filters run.get_type()Definition for one slug or null.get_types_for_rest()Ordered list for REST and block context (labels, emoji, optional icon).get_types()Registered reaction types keyed by slug.is_registered()Whether this slug is registered after filters.sanitize_slug()Sanitize a reaction slug for storage (matches DB varchar length).
Defined in inc/Social/Reaction_Registry.php