By William Lopez Updated (published )
Disable WordPress AI Features: Core vs Plugin vs Host
Switch off WordPress core AI with WP_AI_SUPPORT or the wp_supports_ai filter, then trace any plugin or host AI panel to its source and turn it off there.
- Topic
- SEO & crawlers
- Free tool for this
- WordPress robots.txt Generator with AI Crawler Toggles
- Sources
- 7 linked at the end
Most AI features people want gone in WordPress come from a plugin, a host, or WordPress.com. Since WordPress 7.0 there is also a core layer: an AI client that plugins can use to send prompts, and a Settings → Connectors screen that lists AI providers. Core has a switch for that layer. For everything else, find what is rendering the AI panel before you paste a remove_action snippet into functions.php.
The fixes are different for each source. The core layer has a constant and a filter. A plugin feature has a settings toggle. A host-injected feature lives in your hosting dashboard, not your WordPress admin. And the separate question people often mean when they say “disable AI”, stopping AI companies from training on your posts, is not a WordPress setting at all. It is a robots and server-config problem, covered in full in blocking GPTBot and other AI crawlers in robots.txt.
TL;DR: add define( 'WP_AI_SUPPORT', false ); to wp-config.php to switch off the core AI client and its provider connectors. If you still see an AI panel in the editor, a plugin put it there: find it by deactivating plugins in batches, then use that plugin’s own setting. Stopping AI companies from training on your content is a separate robots.txt and server-config question.
What is core and what is not
WordPress 7.0 added an AI client to core. It gives plugins one shared way to send prompts to an AI provider, and Settings → Connectors is where a site owner connects providers. On a fresh install that screen lists Anthropic, Google and OpenAI with an Install button each, plus Akismet. Core does not call any AI service until a provider plugin is installed and configured, and it adds no AI writing panel to the editor by itself. In the WordPress 7.1.4 source, nothing in core calls the client’s wp_ai_client_prompt() function apart from its own definition (read from the source, not run). The AI client announcement on Make WordPress Core describes it the same way: an interface that lets plugins send prompts, with no AI providers bundled in core.

Where the AI features you can actually see come from:
| Source | Typical feature | Where you turn it off |
|---|---|---|
| WordPress core 7.0+ | AI client, provider connectors under Settings → Connectors | WP_AI_SUPPORT constant or wp_supports_ai filter |
| Jetpack | AI Assistant block and other Jetpack AI features | My Jetpack → Features, the Jetpack AI toggle |
| Standalone AI plugins | Content generators, chatbots, alt-text writers | The plugin’s own settings screen |
| SEO plugins | AI title/description suggestions | Plugin settings, usually per-feature |
| Page builders | AI copy and image generation in the builder UI | Builder settings or account panel |
| Managed hosts | AI assistants injected via an mu-plugin or dashboard | Host control panel |
| WordPress.com | Hosted AI writing tools | WordPress.com account settings, not your site |
The core switch: WP_AI_SUPPORT
Core decides whether AI is available through one function, wp_supports_ai(). It returns false straight away when the WP_AI_SUPPORT constant is defined as false. Otherwise it returns the value of the wp_supports_ai filter, which defaults to true. So you have two ways to turn it off.
In wp-config.php, add this above the “That’s all, stop editing!” line. If you have not opened that file before, first read where wp-config.php lives and how to edit it safely.
define( 'WP_AI_SUPPORT', false );Or in a must-use plugin, for example wp-content/mu-plugins/no-ai.php:
<?php
add_filter( 'wp_supports_ai', '__return_false' );The constant is the stronger of the two. Because wp_supports_ai() checks it before the filter runs, no plugin can switch AI back on with the filter once the constant is false. Use the filter when you need to decide per request, or when you cannot edit wp-config.php.
We tested both on 2026-11-16 in WordPress Playground (WordPress 7.1.4, PHP 8.3, Twenty Twenty-Five, no AI plugin installed):
| Setup | wp_supports_ai() | Connectors registered | A prompt sent through the core AI client |
|---|---|---|---|
| Default | true | anthropic, google, openai, akismet | Error prompt_invalid_argument: no model available, because no provider is installed |
define( 'WP_AI_SUPPORT', false ); in wp-config.php | false | akismet only | Error prompt_prevented: “AI features are not supported in this environment.” |
The wp_supports_ai filter returning false, in an mu-plugin | false | akismet only | Same prompt_prevented error |
| Constant and filter removed again | true | anthropic, google, openai, akismet | Back to prompt_invalid_argument |
With the switch off, the Connectors screen still loads, but Anthropic, Google and OpenAI no longer appear on it. Akismet stays, because it is not an AI provider.
What the switch reaches: code that goes through the core AI client, and plugins that check the constant themselves. Jetpack is one of those. Its Jetpack AI settings page says “Hosting providers can turn off Jetpack AI for every site they host, using the WP_AI_SUPPORT constant.” A plugin that calls an AI service with its own HTTP requests and ignores the constant keeps working, and so does a host’s injected assistant. For those, use the steps below.
Which switch to use
| What you want to stop | Use | Survives plugin updates |
|---|---|---|
| The core AI client and its provider connectors, site-wide | WP_AI_SUPPORT set to false in wp-config.php | Yes |
Core AI on some requests only, or you cannot edit wp-config.php | The wp_supports_ai filter in an mu-plugin | Yes, but a plugin’s own filter can override it |
| One plugin’s AI panel, while keeping the plugin | That plugin’s own setting | Usually |
| A plugin you only installed for its AI features | Deactivate and delete the plugin | Yes |
| An assistant your host injected | The host’s control panel | Yes |
| AI companies crawling your content | robots.txt and server rules, not a WordPress setting | Not applicable |
Find what is actually adding it
Deactivate plugins in batches until the AI panel disappears. Crude, but it gives you a definite answer instead of a guess.
If you have WP-CLI, list everything active first:
wp plugin list --status=active --field=nameThen check for host-injected code, which does not show up in the normal plugin screen:
ls -la wp-content/mu-plugins/Must-use plugins load automatically and cannot be deactivated from the admin. If your host dropped an AI assistant in there, the only clean removal is through their control panel. If you delete the file by hand instead, check after the host’s next update that it has not come back.
Turning it off properly
Use the plugin’s own setting. This is the boring answer and it is the right one. In Jetpack, the Jetpack AI toggle under My Jetpack → Features hides every Jetpack AI feature at once, and the switches under Jetpack → Jetpack AI → AI Features turn off single ones, all without deactivating Jetpack. Jetpack also documents a jetpack_ai_enabled filter that can turn Jetpack AI off. Most standalone AI plugins expose an enable/disable checkbox per feature.
If you do not use the plugin for anything else, deactivate the whole plugin. An AI plugin left installed but “disabled” still loads its code on every request. Deactivating is faster and safer than any filter.
Unhooking with remove_action is a last resort. It works, but only when you know the exact hook name, callback, and priority the plugin registered, and only until the plugin renames any of those:
// Only if you have verified the exact hook, callback and priority.
// Runs late so the plugin has already registered its own hooks.
add_action( 'init', function () {
remove_action( 'enqueue_block_editor_assets', array( 'Some_Plugin_Class', 'enqueue_ai_panel' ), 10 );
}, 99 );The cost is that this breaks silently. A plugin update changes the class name, your removal stops matching, the AI panel comes back, and nothing errors to tell you. If you use this approach, write down what you removed and re-check it after every update of that plugin.
The same caution applies to unregistering editor panels from JavaScript. It is a real capability, but you are reaching into another plugin’s registration by string identifier, and that identifier is not a public contract.
Do not trust wp-config.php constants from a forum post without a source. WP_AI_SUPPORT is real and documented in the WordPress code reference. A constant that claims to switch off a third-party plugin’s AI does nothing unless that plugin’s own documentation names it.
Stopping AI training is a separate job
Everything above switches off AI inside WordPress. Turning off an editor panel or the core AI client changes nothing about who crawls your posts: keeping outside AI crawlers such as GPTBot and ClaudeBot away is done in robots.txt and at the server. That job has trade-offs of its own, because some of those bots feed model training and others feed AI search answers that link to you. How to block GPTBot and other AI crawlers in WordPress covers each bot, what blocking it costs, and the server rules. To write the rules without a typo, the WordPress robots.txt generator builds the AI-crawler groups next to your normal search rules.
What does not work
llms.txt is a proposal, not a standard. It is a suggested markdown file describing your site for language models. No major operator has committed to treating it as access control. It blocks nothing; see WordPress llms.txt: what it is, does it help for the ways to publish it and what the evidence actually supports.
noai and noimageai meta tags are not an opt-out you can count on. They are not among the robots meta rules Google lists as supported. Adding the tags does no harm.
A plugin promising to “block AI” usually just writes robots rules. That is fine, and it is exactly what you can do yourself in ten lines. It is not a legal or technical barrier, and no plugin can make it one.
Blocking AI crawlers does not remove content already in a trained model. Nothing you add today retroactively pulls your posts out of a model shipped last year. Robots rules are forward-looking only.
Still seeing an AI panel
If WP_AI_SUPPORT is off, every plugin is off and the panel persists, check wp-content/mu-plugins/ again, then your host’s dashboard, then whether you are on WordPress.com rather than self-hosted. The toggles live in the account settings there, not in the site admin. And if the feature reappears after a plugin update, that is the signature of an unhooking snippet that stopped matching.
Sources
- WordPress Developer Resources: wp_supports_ai(), wp_supports_ai filter
- Make WordPress Core: Introducing the AI Client in WordPress 7.0
- OpenAI: Overview of OpenAI crawlers
- Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler?
- Google: Robots meta tag specifications
- Jetpack: Manage Jetpack AI settings
William Lopez runs Odie Themes, which publishes the free WordPress tools, themes and guides on this site.
Questions
Does WordPress core have AI features I need to disable?
Since WordPress 7.0, core ships an AI client and a Settings > Connectors screen that lists Anthropic, Google and OpenAI as providers. The client does nothing until a provider plugin is configured, and nothing in WordPress 7.1.4 core sends it a prompt, so core adds no AI writing panel to the editor. To switch the core layer off, add define( 'WP_AI_SUPPORT', false ); to wp-config.php.
How do I turn off Jetpack AI Assistant?
In WP Admin, go to My Jetpack, then Features, and switch off the Jetpack AI toggle. Jetpack's help page says this hides every Jetpack AI feature, including the AI Assistant block. To turn off single features instead, use the switches under Jetpack, then Jetpack AI, on the AI Features tab. If you use no other Jetpack feature, deactivating the whole plugin is simpler.
Does WP_AI_SUPPORT turn off AI in my plugins?
In plugins that use the core AI client, yes. With the constant set to false, wp_supports_ai() returns false, no AI provider connectors are registered, and prompts sent through core fail. Jetpack follows it too: it says hosts can turn off Jetpack AI with WP_AI_SUPPORT. A plugin that calls an AI service with its own code is not affected, so use its own setting.
Can remove_action disable a plugin AI feature?
Sometimes, but it is fragile. It only works if you know the exact hook, callback, and priority the plugin registered, and a plugin update can rename any of those and silently restore the feature. Use the plugin's own setting when one exists, and treat unhooking as a last resort you re-test after every update.
Is llms.txt a standard I should implement?
No, llms.txt is a community proposal, not a ratified standard, and no major AI operator has committed to honoring it as an access-control mechanism. Adding the file is harmless and cheap, but do not treat it as a substitute for robots.txt directives or server-level blocking.