class PluginMain plugin class (singleton).
class final
- Full name
Kernowdev\ClanbiteForums\Plugin
Methods
bootstrap_clanbite_extension()Construct the Clanbite extension early on init (before priority 0).init()Secondary hooks after extension registration.instance()Get the singleton instance.is_clanbite_available()Whether Clanbite is active.load_textdomain()Load translations early (plugins_loaded, priority 1).maybe_flush_rewrite_after_activation()Apply forum rewrite rules once after plugin activation (activation hook runs too early for a safe flush).render_clanbite_missing_notice()Admin notice when Clanbite is missing.
Defined in inc/Plugin.php