Get WPCode Settings is a WordPress ability from WPCode — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Get WPCode Settings

Read-only
WPCode Content & Tools wpcode/get-settings

Read WPCode's global settings, including plugin version and Safe Mode status.

Requires the WPCode (Insert Headers and Footers) plugin on WordPress 6.9+. All five abilities are read-only. 'list-snippets', 'detect-snippet-errors', and 'search-library' require the 'wpcode_edit_snippets' capability, while 'get-error-logs' and 'get-settings' require WordPress's 'manage_options' capability.

What it does

This ability returns a snapshot of WPCode's global configuration: the installed plugin version, whether error logging is currently enabled, and whether Safe Mode is active for the current request. Safe Mode is a per-request debugging feature triggered via a 'wpcode-safe-mode' query parameter that disables all snippet execution; the ability only reports it as active if both the query parameter is present and the current user holds the 'wpcode_activate_snippets' capability. This gives an AI assistant quick visibility into the plugin's operating state when diagnosing site issues.

See it in action

You ask your AI assistant

"What version of WPCode is installed, and is Safe Mode currently active?"

Returns

An object with version (string), error_logging (boolean), and safe_mode_active (boolean).

Permission

The current user must have the 'manage_options' capability.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.