| @@ -1,7 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace Elementor; |
| 3 | 3 | |
| 4 | +use Elementor\Core\Admin\Menu\Admin_Menu_Manager; | |
| 4 | 5 | use Elementor\Core\Wp_Api; |
| 5 | 6 | use Elementor\Core\Admin\Admin; |
| 6 | 7 | use Elementor\Core\Breakpoints\Manager as Breakpoints_Manager; |
| 7 | 8 | use Elementor\Core\Common\App as CommonApp; |
| @@ -408,8 +409,13 @@ | ||
| 408 | 409 | */ |
| 409 | 410 | public $inspector; |
| 410 | 411 | |
| 411 | 412 | /** |
| 413 | + * @var Admin_Menu_Manager | |
| 414 | + */ | |
| 415 | + public $admin_menu_manager; | |
| 416 | + | |
| 417 | + /** | |
| 412 | 418 | * Common functionality. |
| 413 | 419 | * |
| 414 | 420 | * Holds the plugin common functionality. |
| 415 | 421 | * |
| @@ -723,8 +729,11 @@ | ||
| 723 | 729 | $this->images_manager = new Images_Manager(); |
| 724 | 730 | $this->wp = new Wp_Api(); |
| 725 | 731 | $this->assets_loader = new Assets_Loader(); |
| 726 | 732 | $this->uploads_manager = new Uploads_Manager(); |
| 733 | + | |
| 734 | + $this->admin_menu_manager = new Admin_Menu_Manager(); | |
| 735 | + $this->admin_menu_manager->register_actions(); | |
| 727 | 736 | |
| 728 | 737 | User::init(); |
| 729 | 738 | Api::init(); |
| 730 | 739 | Tracker::init(); |