1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?php namespace Elementor\Modules\ElementManager;
use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_With_Page; use Elementor\Settings;
if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. }
class Admin_Menu_App implements Admin_Menu_Item_With_Page {
public function is_visible() { return true; }
public function get_parent_slug() { return Settings::PAGE_ID; }
public function get_label() { return esc_html__( 'Element Manager', 'elementor' ); }
public function get_page_title() { return esc_html__( 'Element Manager', 'elementor' ); }
public function get_capability() { return 'manage_options'; }
public function render() { echo '<div class="wrap">'; echo '<h3 class="wp-heading-inline">' . esc_html__( 'Element Manager', 'elementor' ) . '</h3>'; echo '<div id="elementor-element-manager-wrap"></div>'; echo '</div>'; } }
|