class SettingsRegisters the top-level menu, enqueues the React shell, and wires REST.
class
- Full name
Kernowdev\Clanbite\Admin\Settings
Methods
__construct()Build the settings registry from the General and Groups settings plus every installed extension that exposes a settings admin.get_admin_menu_icon_data_uri()Resolve the top-level wp-admin menu icon in the format recommended by core docs.instance()Get the singleton.maybe_enqueue_admin_app()Enqueue the unified settings app on the main Clanbite screen only.redirect_legacy_extension_submenu()Old bookmark to clanbite-extensions lands on the unified screen.register_admin_pages()Add the top-level Clanbite menu and its first (Settings) submenu entry.render_main_page()Output the mount point for the React settings app.
Defined in inc/admin/class-admin-settings.php