File "editor-one-home-menu.php"
Full Path: /home/capoeirajd/www/wp-content/plugins/elementor/includes/settings/admin-menu-items/editor-one-home-menu.php
File size: 1 KB
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Elementor\Includes\Settings\AdminMenuItems;
use Elementor\Core\Admin\EditorOneMenu\Interfaces\Menu_Item_Third_Level_Interface;
use Elementor\Modules\EditorOne\Classes\Menu_Config;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
class Editor_One_Home_Menu implements Menu_Item_Third_Level_Interface {
public function get_capability(): string {
return 'manage_options';
}
public function get_parent_slug(): string {
return Menu_Config::ELEMENTOR_MENU_SLUG;
}
public function is_visible(): bool {
return true;
}
public function get_group_id(): string {
return Menu_Config::EDITOR_GROUP_ID;
}
public function get_label(): string {
return esc_html__( 'Quick start', 'elementor' );
}
public function get_position(): int {
return 10;
}
public function get_slug(): string {
return 'elementor';
}
public function get_icon(): string {
return 'home';
}
public function has_children(): bool {
return false;
}
public function get_page_title() {
return $this->get_label();
}
}