Abilities 3

  • clanbite/active-extensions clanbite
    Lists extensions currently loaded by Clanbite (slug, name, version).
  • clanbite/discovery clanbite
    Returns whether this site runs Clanbite, the plugin version, and optional cross-site match sync hints.
  • clanbite/public-team clanbite
    Returns public metadata for a published team given its slug or an absolute team profile URL.

Blocks 42

Classes 58

  • Abilities_Api clanbite
    Registers Clanbite abilities and category when core supports them.
  • Abstract_Extension_Data_Store clanbite
    Abstract base: slug normalization and configurable option key.
  • Abstract_Settings clanbite
    WordPress Settings API wrapper for Clanbite option buckets.
  • Admin clanbite
    Persists display-related options under clanbite_matches_settings.
  • Admin clanbite
    Notifications extension settings for the unified React admin (clanbite_notifications_settings).
  • Admin clanbite
    Players admin settings and functionality.
  • Admin clanbite
    Teams admin settings and functionality.
  • Admin_Rest clanbite
    Registers clanbite/v1/admin/* routes.
  • Block_Patterns clanbite
    Registers Clanbite block patterns and pattern categories.
  • Compat_Guard clanbite
    The update server only offers compatible releases, but a server can be wrong, stale or compromised, so core checks again with the package it actually downloaded: it reads the headers of the **unpacked** main plugin file (which are covered by the release signature) and compares them with what is running on this site.
  • Compat_Monitor clanbite
    Updates to Clanbite itself come from wordpress.org (or an auto-update, or FTP) and the update server cannot gate them. This class is the safety net on the site: any plugin whose main file declares Requires Clanbite: is checked against the Clanbite that is actually installed, and when it does not fit it is **deactivated** (silently, so none of its code runs) instead of being left to fatal the site. It also covers the add-ons' other declared needs: Requires Clanbite Add-ons, Requires PHP and Requires at least.
  • Cross_Site_Match_Sync clanbite
    Registers Cross_Site_Match_Sync::handle_incoming() and pushes outbound mirrors after accept.
  • Data_Store_WP clanbite
    Option-backed persistence for Skeleton::get_data() / set_data().
  • Event_Entity_Rest_Controller clanbite
    REST endpoints for scheduled events (cp_event).
  • Event_Member_Outreach clanbite
    Sends in-app notifications and/or seeds tentative RSVPs for team or group rosters.
  • Event_Permissions clanbite
    Permissions for team/group scoped events.
  • Event_Post_Type clanbite
    Custom post type and meta for front-end events (in-person or virtual).
  • Event_Rsvp_Data_Access clanbite
    Low-level CRUD for the event RSVP table.
  • Event_Rsvp_Rest_Controller clanbite
    REST endpoints for generic events RSVPs (matches, teams events, groups events, etc).
  • Event_Rsvp_Schema clanbite
    Handles database table creation and upgrades for event RSVPs.
  • Events clanbite
    Initializes the core events/RSVP system.
  • Events clanbite
    Official extension that boots the cp_event subsystem when installed.
  • Events_Admin clanbite
    Events settings (clanbite_events_settings): the site-wide switches for scheduled events and the profile tabs the extension adds.
  • Extension_Data_Store clanbite
  • Front_Seo clanbite
    Registers head output for player profiles, team profiles, players directory, and public match pages.
  • General_Settings clanbite
    General Clanbite options stored in General_Settings::OPTION_KEY.
  • Groups_Settings clanbite
    Options stored in Groups_Settings::OPTION_KEY.
  • Installer clanbite
    The "Available add-ons" list: asks the update server which extensions this site may install (all of them for an activated licence, only the free ones without a licence), and installs one through WordPress' normal plugin installer.
  • License_Admin clanbite
    Adds an integration tab (slotId License_Admin::SLOT_ID) whose view is assets/js/clanbite-license.js, mounted through the core admin's clanbite:admin-integration-mount event. The tab only appears when an add-on that uses the update server is installed (or the site is already activated).
  • License_Client clanbite
    One licence key per site owner unlocks every add-on they bought. This class activates the key for this site, keeps the activation token, asks for updates in a single batched request and requests the (single-use) download at the moment the administrator clicks Update.
  • License_Rest clanbite
    clanbite/v1/admin/license (read), …/activate, …/deactivate and …/refresh, for administrators only (same capability as the other clanbite/v1/admin/* routes, filter clanbite_admin_rest_manage_capability). The licence key is accepted on activate and is never returned.
  • Loader clanbite
    Extension loader (singleton).
  • Main clanbite
    Main initiation class.
  • Maintenance clanbite
    Runs one-shot maintenance steps keyed by Main::MAINTENANCE_VERSION.
  • Matches clanbite
    Registers the cp_match post type, REST routes, block libraries, and editor meta UI hooks.
  • Messages_Settings clanbite
    Custom wording stored in Messages_Settings::OPTION_KEY, keyed by clanbite_message_field_id().
  • Notification_Data_Access clanbite
    CRUD and query operations for notifications.
  • Notification_Rest_Controller clanbite
    REST endpoints for notifications with long polling support.
  • Notification_Schema clanbite
    Handles database table creation and upgrades for notifications.
  • Notifications clanbite
    Official extension that boots the in-site notifications subsystem (DB, REST, bell block, profile tab).
  • Notifications_Runtime clanbite
    Registers WordPress hooks for the Notifications extension runtime.
  • Player_Media clanbite
    Lets a player choose which part of their avatar and cover image is shown, and go back to the defaults.
  • Players clanbite
    Extension: Players.
  • Public_Rest clanbite
    Registers read-only routes under clanbite/v1 that do not require a logged-in user.
  • Release_Signature clanbite
    Add-on releases are signed (Ed25519) in the release workflow with a key that never touches the update server, so even a compromised server cannot make a site install code it did not sign. The signed message is clanbite-release-v1 \n slug \n version \n sha256, where the SHA-256 is computed locally from the file that was downloaded.
  • Rest_Controller clanbite
    Registers read-only routes for theme and headless consumers.
  • Settings clanbite
    Registers the top-level menu, enqueues the React shell, and wires REST.
  • Skeleton clanbite
    Extension skeleton.
  • Team clanbite
    Team entity: mirrors core post fields plus team meta (code, roster, flags, etc.).
  • Team_Challenges clanbite
    Registers the internal challenge post type, public REST actions, and notification handlers.
  • Team_Data_Store clanbite
    CRUD for a single team (cp_team by default).
  • Team_Data_Store_CPT clanbite
    Loads and persists Team objects using the posts table and postmeta.
  • Teams clanbite
    Extension skeleton.
  • Updater clanbite
    An add-on takes part by carrying an Update URI header on the update server's host, for example Update URI: https://services.clanbite.com/clanbite-points. WordPress then skips wordpress.org for it (so nobody can hijack the slug there) and asks the update_plugins_{host} filter instead.
  • Version_Constraint clanbite
    The small constraint language used in plugin headers (Requires Clanbite: ^1.5.0):
  • Visibility_Container clanbite
    Server-side visibility evaluation for the clanbite/visibility-container block.
  • Wordban clanbite
    Registers hooks and implements matching/masking for the Clanbite word filter.
  • WP_Post_Meta_Data_Store clanbite
    Low-level read/write helpers for core meta tables.

Components 5

  • avatar clanbite
    A player, team or group avatar with its shape, XP ring and rank badge.
  • clipboard clanbite
    clanbite.clipboard.copy( text ): copies text, with a fallback for browsers without the clipboard API.
  • popups clanbite
    clanbite.popups.announce() / allowOpen(): the hooks clanbite.popup.toggled and clanbite.popup.shouldOpen for every popup.
  • time clanbite
    Relative wording such as "5 minutes ago", filterable in one place (clanbite_human_time_ago).
  • toasts clanbite
    The shared popup system: clanbite.toasts.show() in the browser.

Database tables 2

Functions 307

Hooks 399

Messages 20

Methods 719

REST API 30

Settings 8