PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.6
Elementor Website Builder – more than just a page builder v3.35.6
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 / floating-buttons / admin-menu-items / editor-one-floating-elements-menu.php

editor-one-floating-elements-menu.php in Elementor Website Builder – more than just a page builder 3.35.6, at modules/floating-buttons/admin-menu-items/editor-one-floating-elements-menu.php

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