How to Disable AI in WordPress 7: Controls and Limits

Separate controls for WordPress AI features, core AI support and external agent connections, with a check for each scope.

To disable AI in WordPress 7, choose the control for the feature or connection you want to stop. The official AI plugin has an Enable AI switch under Settings → AI. Developers can disable core AI support with WP_AI_SUPPORT. External agents, independent AI plugins and hosting assistants need their own access controls.

We tested the core flag on a local WordPress 7.1.5 practice installation using temporary CLI processes. No persistent site setting was changed. The steps below also explain the settings we reviewed in documentation but did not exercise end to end.

Choose the control that matches your goal

What you want to stopStarting pointWhat still needs checking
One feature in the official AI pluginIts feature or experiment toggleOther enabled features and automatic jobs
AI tools in that pluginSettings → AI → Enable AIIndependent plugins and external connections
Core AI supportWP_AI_SUPPORT set to boolean false before bootstrapIntegrations that use their own AI implementation
Use of a provider credentialIts configuration source and provider accountOther copies, environments and apps sharing the key
An external agent accessing WordPressIts server, app authorization or credentialOther MCP servers, gateways, API credentials and SSH access

These controls operate at different layers. For the wider architecture, see WordPress AI features explained. Turning off generation is not the same operation as revoking an agent’s permission to edit a page.

Three separate control paths: official AI plugin features use Settings AI; core-aware integrations check WP_AI_SUPPORT; external agents use server and credential controls. Each path needs its own verification.
Original illustrative control map. The CLI exercise below tests the core-support path only.

1. Turn off features in the official AI plugin

If you use the WordPress.org AI plugin:

  1. Open Settings → AI as an administrator with access to its settings.
  2. Switch off an individual feature or experiment if you want to retain the others.
  3. Turn Enable AI off to disable AI through that plugin’s main control. Follow any save prompt in your installed release.
  4. Reload the relevant editor or admin screen and check the feature you intended to stop.

The WordPress settings documentation shows the main switch and feature controls. If Settings → AI is absent, check whether the official plugin is installed, active and accessible to your account. You do not need to install it just to turn it off.

Official WordPress AI settings screen with the Enable AI switch off in the top right, feature toggles below, and a notice that a valid AI connector is required.
Genuine reused WordPress.org documentation capture, already used in our native AI guide. It shows an earlier documented interface, not a new screenshot of our CLI test or proof of a successful provider connection.

Review automatic behavior as well as visible buttons. The official AI plugin listing identifies experiments that run automatically; comment moderation, for example, can process new visitor comments once enabled. It also documents a separate MCP Access experiment. Check these explicitly when your goal extends beyond editor suggestions.

Before deactivating the plugin, review its key-storage behavior: the listing states that disabling Key Encryption, or deactivating the plugin, restores plaintext provider keys. Plan credential handling with the site owner rather than assuming deactivation removes keys. This article does not test that transition.

2. Disable core AI support in configuration

For a developer-managed site using WordPress 7.0 or later, the core control is:

define( 'WP_AI_SUPPORT', false );

Have the person responsible for configuration place this in wp-config.php before WordPress is loaded, ahead of the wp-settings.php bootstrap. Check for an existing definition first and edit it rather than adding a second one. Keep a recoverable copy of the configuration and test on staging before deployment.

Use boolean false, without quotes. A nonempty PHP string such as 'false' is truthy and does not express the intended setting.

Core’s wp_supports_ai() implementation returns false immediately when this constant is defined with a false value. That happens before its usual filter runs. In the connector registry, registration of an ai_provider connector is refused when AI support is disabled.

This is a core integration control. An independent plugin can make provider requests through its own code without consulting it. It also does not delete already generated content, erase credentials or revoke an external app’s authorization.

Read back the core result

A developer with WP-CLI access can check the current process:

Terminal window
wp --path=/absolute/path/to/wordpress eval 'echo wp_supports_ai() ? "enabled\n" : "disabled\n";'

Replace the path with the intended installation. This reads core support; it does not prove that every integration respects it. CLI and web-server environments can differ, so verify the actual web feature separately after an approved configuration deployment.

To reverse a configuration change later, restore the previously approved definition or remove the line you added, as appropriate. Recheck feature settings before enabling anything again.

3. Review provider keys at their actual source

Removing a saved key from the Connectors screen may leave another credential source in effect. WordPress checks an environment variable before a PHP constant, then the database setting. Ask the host or developer to review the active source without copying secrets into a chat or screenshot. Official credential precedence

For connection setup and the distinction between in-site requests and outside agents, see our WordPress Connectors walkthrough.

If the goal is to invalidate a key everywhere, use the provider’s account controls after identifying the apps and environments that share it. Removing one local copy is not provider-side revocation. Conversely, revoking a shared key can disrupt a different site you intended to keep working.

4. Control external agents separately

An external agent may use its own model account while accessing WordPress through MCP. Disabling WordPress’s core AI support does not, by itself, remove that authorization.

For EMCP, the Connection screen documentation describes these controls:

  • Advanced settings → Abilities API is EMCP’s switch for exposing its tools over its MCP server. Turning it off and saving puts that server in Server off state. The label does not mean it disables the entire WordPress Abilities API.
  • A connected app’s Sign out revokes its tokens; the app can sign in again. Remove deletes that app registration and its tokens.
  • Review the credentials for the connection route actually used. An application password, another server or a gateway is a separate access path.
EMCP Connection documentation capture showing Server status, Connected apps and the Advanced settings Abilities API switch labeled Expose EMCP tools to AI agents on this site.
Genuine reused EMCP 3.18.0 documentation capture from the Connection guide. Its branding, counts and enabled state are earlier evidence, not current product totals or a new access-revocation test.

To keep a connection but remove a particular operation, use individual tool controls and save the change. Verify with a fresh tool list and the affected operation. A missing admin menu alone is not an access test.

Management access controls who can configure EMCP’s admin settings. It generally does not decide whether an already connected agent can use MCP tools; the documented Themer exception has its own scope. Do not use that admin-access list as a substitute for server, tool or credential controls.

What we actually tested

On 23 November 2026, we ran four separate WP-CLI processes against the established local practice installation, using WordPress 7.1.5. Normal plugins, themes and WP-CLI packages were skipped; must-use plugins are not excluded by the normal plugin-skip flag.

ProcessCore AI supportAI-provider connectorsOther connectors
BaselineEnabled31
Temporary false constant before bootstrapDisabled01
Same false constant, then a filter returning trueDisabled01
Fresh baseline processEnabled31

The false constant existed only inside those test processes. The before/after SHA-256 of wp-config.php matched. We issued no configuration or option write and made no provider-generation request.

This verifies the observed core-support and connector behavior in that CLI environment. It does not establish the behavior of all plugins or every database/background process. We did not test the official plugin’s UI switches, key removal or encryption changes, provider revocation, EMCP server shutdown, app-token revocation, or browser-side feature blocking end to end.

Verify the outcome you actually need

Keep a short record for each integration:

  1. Identify its owner, access route, configuration source and expected behavior.
  2. Record the approved control and previous value, without storing secrets.
  3. Apply one change, reload or reconnect as appropriate, and check that specific feature or access route.
  4. Check other enabled plugins, host assistants, scheduled jobs and external connections separately.
  5. Record the observed result and remaining exceptions. Keep rollback instructions with the site owner.

Download the AI-control verification checklist for a client handoff. Saved posts, generated images and provider-side data need their own review; switching a feature off does not undo earlier work.

If you later choose to connect an agent, EMCP Lite is available on WordPress.org. Review its supported operations and access controls before connecting it; installing an MCP plugin is not required to disable WordPress AI.

← All postsSubscribe via RSS

Your EMCP guide

Answers from our docs

YOUR CHAT, YOUR CHOICE

Before we chat

MSR Builds processes your question and up to four recent messages on our server to answer from the EMCP docs. AI is optional and needs your separate permission.

The chat is kept in this page's memory, not saved as a conversation in our database or browser storage. Our hosting and security services process connection information, such as your IP address, to prevent abuse.

Cloudflare Turnstile checks your browser and connection to prevent automated abuse when you send a question. No login is required.

Please leave out personal, sensitive or confidential information, passwords and API keys.

You can withdraw consent and clear this page's chat at any time. This cannot undo a request already sent or erase provider/security records.

Chat privacy, retention & your rights ↗ · Privacy contact

Starting chat consents to this processing. You can browse our docs without using the chat.