wp-connectors-api

Register WordPress 7.0 Connectors API metadata with secure API key configuration.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/vikingokft/wp-agent-skills --skill wp-connectors-api
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: wp-connectors-api
Source: https://github.com/vikingokft/wp-agent-skills/tree/main/wordpress/wp-connectors-api
Command: npx skills add https://github.com/vikingokft/wp-agent-skills --skill wp-connectors-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the problem of correctly registering and managing WordPress 7.0 Connectors API metadata so external services (especially AI providers) appear in Settings > Connectors with the right authentication behavior and secure API key handling.

Core Features & Use Cases

  • Connector registration workflow: Use the wp_connectors_init hook and WP_Connector_Registry register/lookup functions to expose connector metadata for UI and discovery.
  • Authentication and key priority guidance: Configure api_key vs none authentication and understand environment variable, constant, and database option precedence while keeping secrets masked.
  • AI-provider integration rules: Avoid duplicating AI connectors that are auto-discovered via the WP AI Client registry, and use safe metadata override patterns when you need customization.

Quick Start

Register or review how your plugin configures the Connectors API by asking the AI to draft a wp_connectors_init callback that registers a non-AI connector with api_key authentication and safe env/constant/database key precedence for WordPress 7.0.

Frequently Asked Questions about wp-connectors-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register a custom connector in WordPress 7.0?▼

To register a custom connector in WordPress 7.0, hook a callback function to the wp_connectors_init action and use the WP_Connector_Registry to expose your connector metadata for UI discovery.

How do I securely configure API keys for WordPress connectors?▼

Secure API key configuration for WordPress connectors uses a strict precedence of environment variables, constants, and database options, ensuring raw keys remain masked during credential setup and provider integration.

How does the WordPress Connectors API handle AI provider registration?▼

The WordPress Connectors API auto-discovers AI providers via the WP AI Client registry, requiring you to perform feature-detection and use safe metadata override patterns to prevent duplicate AI-provider connector registration.

Can I use environment variables for connector API keys in WordPress?▼

Yes, you can use environment variables for connector API keys in WordPress, which take priority over constants and database options to ensure secrets are safely managed without exposing raw keys in the UI.

Why is my AI provider connector duplicated in the WordPress Settings UI?▼

AI provider connectors appear duplicated in the WordPress Settings UI when manual registration overlaps with auto-discovery from the WP AI Client registry, requiring you to prevent duplicate registration during wp_connectors_init.