first commit

This commit is contained in:
Roman Pyrih
2026-03-10 09:50:10 +01:00
commit 64c4a90405
7289 changed files with 2645777 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
<?php
namespace Elementor\Modules\System_Info\AdminMenuItems;
use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_With_Page;
use Elementor\Core\Admin\EditorOneMenu\Interfaces\Menu_Item_Interface;
use Elementor\Modules\EditorOne\Classes\Menu_Config;
use Elementor\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
class Editor_One_System_Info_Menu implements Menu_Item_Interface, Admin_Menu_Item_With_Page {
public function get_capability(): string {
return 'manage_options';
}
public function get_parent_slug(): string {
return Menu_Config::ELEMENTOR_MENU_SLUG;
}
public function is_visible(): bool {
return true;
}
public function get_label(): string {
return esc_html__( 'System Info', 'elementor' );
}
public function get_position(): int {
return 10;
}
public function get_slug(): string {
return 'elementor-system-info';
}
public function get_group_id(): string {
return Menu_Config::SYSTEM_GROUP_ID;
}
public function get_page_title() {
return $this->get_label();
}
public function render() {
Plugin::$instance->system_info->display_page();
}
}