PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.0-dev1
Elementor Website Builder – more than just a page builder v3.35.0-dev1
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 / core / admin / editor-one-menu / menu / abstract-menu-item.php

abstract-menu-item.php in Elementor Website Builder – more than just a page builder 3.35.0-dev1, at core/admin/editor-one-menu/menu/abstract-menu-item.php

42 lines 900 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Elementor\Core\Admin\EditorOneMenu\Menu;
4
5 use Elementor\Core\Admin\EditorOneMenu\Interfaces\Menu_Item_Third_Level_Interface;
6 use Elementor\Modules\EditorOne\Classes\Menu_Config;
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit;
10 }
11
12 abstract class Abstract_Menu_Item implements Menu_Item_Third_Level_Interface {
13
14 public function get_capability(): string {
15 return Menu_Config::CAPABILITY_MANAGE_OPTIONS;
16 }
17
18 public function get_parent_slug(): string {
19 return Menu_Config::ELEMENTOR_MENU_SLUG;
20 }
21
22 public function is_visible(): bool {
23 return true;
24 }
25
26 public function get_group_id(): string {
27 return Menu_Config::EDITOR_GROUP_ID;
28 }
29
30 public function has_children(): bool {
31 return false;
32 }
33
34 abstract public function get_label(): string;
35
36 abstract public function get_position(): int;
37
38 abstract public function get_slug(): string;
39
40 abstract public function get_icon(): string;
41 }
42