Skip to content
SEO & crawlers

Disable WordPress AI Features: Core vs Plugin vs Host

Switch off WordPress core AI with WP_AI_SUPPORT or the wp_supports_ai filter, trace plugin and host AI panels to their source, and keep AI crawlers out.

Published Updated

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.

WordPress Connectors settings screen listing Akismet Anti-spam, Anthropic, Google and OpenAI, with a banner offering to install the AI plugin
Settings > Connectors on a fresh WordPress 7.1.4 in WordPress Playground, with no AI plugin added. Anthropic, Google and OpenAI each show only an Install button.

Where the AI features you can actually see come from:

SourceTypical featureWhere you turn it off
WordPress core 7.0+AI client, provider connectors under Settings → ConnectorsWP_AI_SUPPORT constant or wp_supports_ai filter
JetpackAI Assistant block and other Jetpack AI featuresMy Jetpack → Features, the Jetpack AI toggle
Standalone AI pluginsContent generators, chatbots, alt-text writersThe plugin’s own settings screen
SEO pluginsAI title/description suggestionsPlugin settings, usually per-feature
Page buildersAI copy and image generation in the builder UIBuilder settings or account panel
Managed hostsAI assistants injected via an mu-plugin or dashboardHost control panel
WordPress.comHosted AI writing toolsWordPress.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):

Setupwp_supports_ai()Connectors registeredA prompt sent through the core AI client
Defaulttrueanthropic, google, openai, akismetError prompt_invalid_argument: no model available, because no provider is installed
define( 'WP_AI_SUPPORT', false ); in wp-config.phpfalseakismet onlyError prompt_prevented: “AI features are not supported in this environment.”
The wp_supports_ai filter returning false, in an mu-pluginfalseakismet onlySame prompt_prevented error
Constant and filter removed againtrueanthropic, google, openai, akismetBack 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 stopUseSurvives plugin updates
The core AI client and its provider connectors, site-wideWP_AI_SUPPORT set to false in wp-config.phpYes
Core AI on some requests only, or you cannot edit wp-config.phpThe wp_supports_ai filter in an mu-pluginYes, but a plugin’s own filter can override it
One plugin’s AI panel, while keeping the pluginThat plugin’s own settingUsually
A plugin you only installed for its AI featuresDeactivate and delete the pluginYes
An assistant your host injectedThe host’s control panelYes
AI companies crawling your contentrobots.txt and server rules, not a WordPress settingNot 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=name

Then 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.

The other question: stopping AI training on your content

This is separate, and it is where most of the real anxiety sits. Turning off an editor panel or the core AI client changes nothing about who crawls your posts. Controlling that happens in robots.txt and, if you want it enforced, at the server.

WordPress serves a virtual robots.txt unless a real file exists at your web root. If a physical file is present, WordPress steps aside entirely and that file is what crawlers get. To add to the virtual one, filter it:

add_filter( 'robots_txt', function ( $output ) {
    $output .= "\nUser-agent: GPTBot\nDisallow: /\n";
    return $output;
}, 10 );

Building the rules by hand is where people make mistakes. One wrong token blocks nothing, and a stray Disallow: / on the wrong agent can pull you out of normal search. The robots.txt generator assembles the AI-crawler blocks alongside your regular search directives so you can see the whole file before it goes live. For the smallest file that still covers WordPress’s own rules, see WordPress robots.txt best practice.

Which tokens to block depends on what you want to keep. OpenAI, Anthropic, Google, Apple, Perplexity, Amazon and Common Crawl each document their own robots.txt tokens, and they do different jobs: GPTBot and ClaudeBot feed training, OAI-SearchBot, Claude-SearchBot and PerplexityBot feed AI search answers, and Google-Extended and Applebot-Extended are tokens that control training use without being crawlers at all. The AI crawler token table lists each one, what blocking it costs you, and the operator’s own page.

Two caveats. First, robots.txt is voluntary. OpenAI and Perplexity say their user-triggered fetchers (ChatGPT-User, Perplexity-User) may not follow it, and a scraper that ignores the standard is unaffected. Second, blocking is not free. Block the search tokens and you lose the AI answers that cite and link you along with the training exposure.

For enforcement rather than a polite request, block at the server. In .htaccess on Apache:

<IfModule mod_setenvif.c>
  SetEnvIfNoCase User-Agent "GPTBot|CCBot|ClaudeBot|PerplexityBot" ai_bot
  <RequireAll>
    Require all granted
    Require not env ai_bot
  </RequireAll>
</IfModule>

User-agent strings are easy to fake, so this stops bots that name themselves, not a determined scraper. Blocking by verified IP range at your CDN or firewall is stronger. A CDN may also keep the bot list for you: Cloudflare’s AI crawler and agent access policies can block search, agent and training crawlers, and each policy covers verified bots and matching unverified ones.

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, and the AI operators above document robots.txt tokens as their opt-out instead. 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

William Lopez

William Lopez is the founder of Odie Themes. He builds the free WordPress tools and themes on this site and has been on WordPress.org since December 2019.

WordPress.org About

FAQ

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.

Does blocking AI crawlers in robots.txt actually work?

For crawlers that follow it. OpenAI, Anthropic, Google, Apple, Perplexity, Amazon and Common Crawl all document robots.txt tokens as the way to opt out. OpenAI and Perplexity say their user-triggered fetchers may not follow robots.txt, and scrapers that ignore the standard are unaffected. Server-level blocking is the enforceable layer.

What is the difference between blocking an AI crawler and blocking AI search?

OpenAI and Anthropic use separate tokens for training and for search. Blocking GPTBot or ClaudeBot keeps your content out of model training but leaves you in ChatGPT and Claude search answers. Blocking OAI-SearchBot, Claude-SearchBot or PerplexityBot keeps your pages out of those search answers, though OpenAI says a site that blocks OAI-SearchBot can still appear as a navigational link. Decide which trade-off you want before blocking both.

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.