• Halil

    (@halilesen)


    Hi,

    I saw the WP 7 update and I’m looking into the new AI integration and UI changes. I don’t want to use the AI features, and I’m trying to disable/remove them completely, I don’t want to see it either. So I made the following additions:

    wp-config.php

    define('WP_AI_SUPPORT', false);

    functions.php

    add_filter('wp_ai_client_prevent_prompt', '__return_true');

    add_action('admin_menu', function () {
    remove_submenu_page('options-general.php', 'options-connectors.php');
    });

    I’m wondering if these changes are enough. How feasible is it to completely remove it from WordPress beyond what I’ve already done?

    • This topic was modified 2 weeks, 1 day ago by Halil.
Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    First of all: there is still no AI in WordPress Core. What has been added are AI connectors. These enable a standardized integration of AI, if you choose to use it. It’s like a train station, where tracks are needed for the trains. The station is WordPress, which provides the tracks for the trains.

    If you want to disable the AI connectors, simply add the following line:

    define( 'WP_AI_SUPPORT', false);

    The other lines you mentioned simply suppress the visible output in the backend (though nothing will appear there).

    Alternatively, you can try this plugin: https://ww.wp.xz.cn/plugins/turn-off-ai-features/

    However, this only applies to AI connectors that support this setting. Currently, these are all the ones recommended by WordPress itself. If additional connectors are added in the future, they will also have to comply with this.

    Plugins that include their own AI integration are not affected by this setting at all.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.