Last active
May 6, 2025 23:37
-
-
Save askwpgirl/bcdb53a151b7438f0989b9318772fbc9 to your computer and use it in GitHub Desktop.
Hide License Renewal Notice in Elementor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// copy the following code in to Code Snippets plugin and set to only run in Adminstration area. | |
// do not copy this text or anything above it. | |
/** | |
* Remove annoying Elementor license notice | |
*/ | |
add_action("admin_enqueue_scripts", function() { | |
?> | |
<style> | |
.e-notice--extended.e-notice--dismissible.e-notice.notice, | |
.elementor-editor-active .elementor-message, | |
.elementor-editor-active .elementor-banner { | |
display: none !important; | |
} | |
</style><?php | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment