index of
/
home
/
thefkyzp
/
www
/
wp-content
/
plugins
/
elementor
/
core
/
role-manager
/
File: /home/thefkyzp/www/wp-content/plugins/elementor/core/role-manager/role-manager-menu-item.php
<?php namespace Elementor\Core\RoleManager; use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_With_Page; use Elementor\Settings; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Role_Manager_Menu_Item implements Admin_Menu_Item_With_Page { private $role_manager; public function __construct( Role_Manager $role_manager ) { $this->role_manager = $role_manager; } public function is_visible() { return true; } public function get_parent_slug() { return Settings::PAGE_ID; } public function get_label() { return esc_html__( 'Role Manager', 'elementor' ); } public function get_page_title() { return esc_html__( 'Role Manager', 'elementor' ); } public function get_capability() { return 'manage_options'; } public function render() { $this->role_manager->display_settings_page(); } }