• Resolved veggroups

    (@veggroups)


    I have come up with an easy way to remove or disable the AI features in Elementor, because the plugin makes it a per-user setting now. This will remove the “Edit with AI”-type messages throughout Elementor. If you want to disable the AI features for all users you can add this code to your theme’s functions.php file or a custom plugin:

    // Disable Elementor AI features for all users
    add_filter( 'get_user_option_elementor_enable_ai', '__return_zero' );

    function hide_elementor_ai_user_preferences() {
    global $pagenow;
    if ( 'profile.php' === $pagenow ) {
    echo '<style>
    tr:has( + tr #elementor_enable_ai),
    tr:has( #elementor_enable_ai ) {
    display: none;
    }
    </style>';
    }
    }
    add_action( 'admin_head', 'hide_elementor_ai_user_preferences' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rica

    (@ricav)

    Hi @veggroups,

    Thank you for contacting us!

    Could you please provide us details on how we can help you?

    Kind regards,

    Thread Starter veggroups

    (@veggroups)

    You can share this with people who want to disable AI. Or you can ask the Elementor team to make a filter that can be used to disable AI features for all users. Because the guidance at https://elementor.com/help/turn-off-ai-notifications/ must be followed by every WordPress user, and the code I shared is a way for a site to disable it for all users.

    Plugin Support Rica

    (@ricav)

    Hi @veggroups,

    Thank you for sharing this information and suggestion. That’s a great point, it could definitely be helpful for users who want to disable the AI features globally.

    You’re also welcome to share this with the Elementor Facebook Community and on our Discord, where our product and development teams, as well as other community members, can review and discuss your idea further.

    We really appreciate your contribution and willingness to help improve the experience for all users.

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.