PluginProbe
Elementor Website Builder – more than just a page builder / 3.22.0-beta1
Elementor Website Builder – more than just a page builder v3.22.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 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 All 457 releases
elementor / modules / conversion-center / admin-menu-items / links-menu-item.php

links-menu-item.php in Elementor Website Builder – more than just a page builder 3.22.0-beta1, at modules/conversion-center/admin-menu-items/links-menu-item.php

40 lines 832 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor\Modules\ConversionCenter\AdminMenuItems;
3
4 use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item;
5 use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_Has_Position;
6 use Elementor\TemplateLibrary\Source_Local;
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly.
10 }
11
12 class Links_Menu_Item implements Admin_Menu_Item {
13
14 private $parent_slug;
15
16 public function __construct( $parent_slug ) {
17 $this->parent_slug = $parent_slug;
18 }
19
20 public function is_visible() {
21 return true;
22 }
23
24 public function get_parent_slug() {
25 return $this->parent_slug;
26 }
27
28 public function get_label() {
29 return esc_html__( 'Links', 'elementor' );
30 }
31
32 public function get_page_title() {
33 return esc_html__( 'Links', 'elementor' );
34 }
35
36 public function get_capability() {
37 return 'manage_options';
38 }
39 }
40