Connector Priority
Drag-and-drop priority ordering for AI connectors on the WordPress Settings › Connectors screen
by George Stephanis · github.com/georgestephanis/connector-priority · website
★ 4stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/georgestephanis/connector-priority/archive/refs/heads/trunk.zipFrom the readme
Connector Priority
A WordPress plugin that adds drag-and-drop priority ordering for AI connectors on the Settings Connectors screen introduced in WordPress 7.0.
What it does
When multiple AI provider connectors are active (e.g. OpenAI, Anthropic, and Google are all connected), WordPress currently has no way to express which one should be preferred. This plugin adds:
- A "Set AI Priority Order" button on the Connectors screen that opens a dedicated priority editor inside the same admin SPA.
- A drag-and-drop list of all registered AI providers — drag to reorder, then click Save Priority Order.
- The saved order is stored in the wpconnectorpriorityorder site option and exposed via the /wp/v2/settings REST endpoint.
- Two public PHP functions for use by other plugins and themes:
- wpgetconnectorpriorityorder() — returns the full ordered list of connector IDs.
- wpgetpreferredaiconnector() — returns the ID of the highest-priority AI connector that is currently active.
Requirements
- WordPress 7.0 or later (requires the Connectors API and Boot module SPA).
- At least one AI provider plugin installed (Anthropic, Google, OpenAI, or a third-party provider).
Installation
1. Upl