Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
elementor-pro
/
license
/
assets
/
js
:
admin.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
export default class Module extends elementorModules.Module { onInit() { this.assignRenewMenuItemAction(); } assignRenewMenuItemAction() { window.addEventListener( 'DOMContentLoaded', () => { const link = document.querySelector( 'a[href="elementor_pro_renew_license_menu_link"]' ); if ( ! link ) { return; } link.addEventListener( 'click', ( e ) => { e.preventDefault(); window.open( 'https://go.elementor.com/wp-menu-renew/', '_blank' ); } ); } ); } }