Consolidates the four-row AcrossAI → AI Connectors submenu (custom landing + Freemius Account + Contact + Pricing) into a single Connectors row (Freemius account page, relabeled). Delegates account-portal features to the self-hosted portal at https://acrossai.co/accounts/ via an admin notice on the Connectors screen.
Ships as PR #28.
Highlights
- Removed the custom landing page at
admin.php?page=acrossai-ai-connectors(the 3-card page). Its render logic, enqueue methods,admin-landingSCSS/CSS, and webpack entry are all deleted. - Renamed the Freemius Account row to Connectors — now the single visible entry point under the shared AcrossAI menu.
- Contact page unregistered via
menu.contact => falsein the SDK config. - Pricing + base-slug rows hidden via admin CSS; both URLs remain reachable. Freemius's own Upgrade / trial-flow CTAs still resolve, and Freemius's activation-mode
override_submenu_actionstill finds the base slug in$submenu['acrossai']for the opt-in form. - First-activation flow preserved.
?page=acrossai-ai-connectorsis registered under theacrossaiparent so Freemius can hijack it for the opt-in / license form; post-activation,load-{$hookname}redirects to-account. - Admin notice on the Connectors screen links to https://acrossai.co/accounts/ for Downloads · Licenses · Subscriptions · Invoices · Profile · FAQ · Support.
- Plugins-screen "Settings" action link retargeted to
?page=acrossai-ai-connectors-account. ACROSSAI_AI_CONNECTORS_VERSIONconstant synced from0.6.2→0.7.0.
Non-obvious findings (captured in memory)
- B7 —
user_can_access_admin_page()usesget_admin_page_parent()which scans$submenu(NOT$_registered_pages) to resolve parent.remove_submenu_page()oradd_submenu_page(null, ...)breaks URL routing. The "not allowed" die fires BEFOREadmin_init, so intercepting there is too late. Useload-{$hookname}for pre-header redirects. - D9 —
DEC-SUBMENU-COLLAPSE-070: line drawn between in-admin (license activation, Freemius requires it) and self-hosted portal (everything else). - W8 — 0.7.0 milestone.
Planning doc: docs/plannings/009-collapse-connectors-submenu.md. Full changelog in README.txt.
Data compat
No schema changes. No new options or meta keys. No new capabilities. Upgrade is a runtime no-op for OAuth, connector profiles, and the AI Connectors tab.
Full Changelog: v0.6.2…v0.7.0