class PluginMain plugin class (singleton).
class final
- Full name
Kernowdev\ClanbiteSocialKit\Plugin
Methods
bootstrap_clanbite_extension()Load translations, then construct the Clanbite extension (must stay on init, before priority 0).enqueue_admin_assets()Enqueue compiled admin script when present.init()Mentions, privacy settings, and related hooks (runs after text domain + extension bootstrap).instance()Get the singleton instance.is_clanbite_available()Whether the main Clanbite plugin is active and bootstrapped.load_textdomain()Load translations early (plugins_loaded, priority 1).render_clanbite_missing_notice()Admin notice when Clanbite is not active.
Defined in inc/Plugin.php