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:
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');