PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.4
Elementor Website Builder – more than just a page builder v4.0.4
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
elementor / modules / system-info / admin-menu-items / editor-one-system-info-menu.php

editor-one-system-info-menu.php in Elementor Website Builder – more than just a page builder 4.0.4, at modules/system-info/admin-menu-items/editor-one-system-info-menu.php

52 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Elementor\Modules\System_Info\AdminMenuItems;
4
5 use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_With_Page;
6 use Elementor\Core\Admin\EditorOneMenu\Interfaces\Menu_Item_Interface;
7 use Elementor\Modules\EditorOne\Classes\Menu_Config;
8 use Elementor\Plugin;
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit;
12 }
13
14 class Editor_One_System_Info_Menu implements Menu_Item_Interface, Admin_Menu_Item_With_Page {
15
16 public function get_capability(): string {
17 return 'manage_options';
18 }
19
20 public function get_parent_slug(): string {
21 return Menu_Config::ELEMENTOR_MENU_SLUG;
22 }
23
24 public function is_visible(): bool {
25 return true;
26 }
27
28 public function get_label(): string {
29 return esc_html__( 'System Info', 'elementor' );
30 }
31
32 public function get_position(): int {
33 return 10;
34 }
35
36 public function get_slug(): string {
37 return 'elementor-system-info';
38 }
39
40 public function get_group_id(): string {
41 return Menu_Config::SYSTEM_GROUP_ID;
42 }
43
44 public function get_page_title() {
45 return $this->get_label();
46 }
47
48 public function render() {
49 Plugin::$instance->system_info->display_page();
50 }
51 }
52