• Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

How to remove Elementor AI Button From Media Gallery

Community

Community

Administrator
Staff member
Like many of you, Elementor AI isnt something we use or ever will, as a result we disable it via the Settings.

However most of you will have noticed, especially if you create websites for clients that there is still an Elementor AI button at the top of the media gallery.

To remove this button, simply add this code to your Functions.php or code snippets plugin:

PHP:
function hide_elementor_ai_button_in_media_gallery() {
    echo '
    <style>
        #e-image-ai-media-library {
            display: none !important;
        }
    </style>';
}
add_action('admin_head', 'hide_elementor_ai_button_in_media_gallery');
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top