Extending the Menu in the latest editor UI
-
Since a recent update where the UI has changed, menu items added no longer appear and I’m not able to see how to do so (ie. to the top-left menu). Previously it could be done with something like:
jQuery(document).ready(function($) {
if (typeof elementor === 'undefined') {
return;
}
elementor.modules.layouts.panel.pages.menu.Menu.addItem({
name:'My Page',
title:'View My Page',
icon: 'wp-menu-image',
callback: function callback() {
// perform action on click here.
}}, 'navigate_from_page', 'finder');
});Is there updated documentation available anywhere? The documentation here hasn’t been updated since 2021:
https://developers.elementor.com/docs/editor/menu-panel/
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Extending the Menu in the latest editor UI’ is closed to new replies.