Authentication configuration. When method is 'api_key', includes credentials_url, setting_name, and optionally constant_name and env_var_name. When 'none', only method is present.
$methodstring
The authentication method: 'api_key' or 'none'.
$credentials_urlstring
Optional. URL where users can obtain API credentials.
$setting_namestring
Optional. The setting name for the API key.
$constant_namestring
Optional. PHP constant name for the API key.
$env_var_namestring
Optional. Environment variable name for the API key. } @type array $plugin { Optional. Plugin data for install/activate UI.
$filestring
The plugin's main file path relative to the plugins directory (e.g. 'my-plugin/my-plugin.php' or 'hello.php').
$is_activecallable
Callback to determine whether the plugin is active. Receives no arguments and must return bool. Defaults to __return_true.
Signature, return type and hooks compared across 2 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.0.4 tag, from src/wp-includes/connectors.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.