File: wp-includes/connectors.php
-
Exposes connector settings to the connectors-wp-admin script module.
-
Registers default connector settings.
-
Passes stored connector API keys to the WP AI client.
-
Fires when the connector registry is ready for plugins to register connectors.
-
Registers connectors for the built-in AI providers.
-
function_wp_connectors_mask_api_key()
Masks an API key, showing only the last 4 characters.
-
Determines the source of an API key for a given connector.
-
Checks whether an API key is valid for a given provider.
-
Masks and validates connector API keys in REST responses.
-
function_wp_connectors_init()
Initializes the connector registry with default connectors and fires the registration action.
-
functionwp_is_connector_registered()
Checks if a connector is registered.
-
functionwp_get_connector()
Retrieves a registered connector.
-
functionwp_get_connectors()
Retrieves all registered connectors.
-
Resolves an AI provider logo file path to a URL.