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
|
<?php namespace Elementor\Modules\Apps;
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_Apps 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__( 'Add-ons', 'elementor' ); }
public function get_page_title() { return esc_html__( 'Add-ons', 'elementor' ); }
public function get_capability() { return 'manage_options'; }
public function render() { Admin_Apps_Page::render(); } }
|