AdminBranding
Corex\Config\Branding\AdminBranding · class · Config layer
Applies the Corex product branding in wp-admin: the login-page logo, the login link target, and the admin footer text. The logo URL is escaped; the rest is static, configurable Corex branding (never client-site styling).
Public API
Section titled “Public API”__construct(BrandingService $branding)
Section titled “__construct(BrandingService $branding)”register(): void
Section titled “register(): void”loginMessage(string $message): string
Section titled “loginMessage(string $message): string”Adds the CoreX sign-in subheading above the native login form (design: Login capture). Only on the sign-in action: lost-password and reset stay untouched. The login screen offers only ways of signing in that work (spec 114, US-SET-10). CoreX has no single sign-on provider, so the “SSO is not configured yet” button and its “or” divider are gone, whatever brand.login_sso_enabled holds. The stored value is left in place for a later provider story to decide on.
appearance(): string
Section titled “appearance(): string”Resolves the CoreX admin appearance (System/Light/Dark) for the shell filter in {@see \Corex\Admin\AdminPage}.
enqueueLoginAssets(): void
Section titled “enqueueLoginAssets(): void”loginBodyClass(array $classes): array
Section titled “loginBodyClass(array $classes): array”loginAppearance(): string
Section titled “loginAppearance(): string”The login screen’s resolved appearance. The CoreX login is a dark-first brand surface (the approved design is dark), so it always carries an explicit theme: the saved ‘light’ setting opts into the light design, and everything else (‘dark’ or ‘system’/unset) shows the canonical dark login. This is what makes the saved appearance control the logged-out page while the approved (dark) design is the visible default — distinct from the admin workspace, where ‘system’ follows the OS scheme.