File "theme-builder-menu-item.php"

Full Path: /home/diablzlo/glucosebalnce.com/wp-content/plugins/elementor-pro/modules/theme-builder/admin-menu-items/theme-builder-menu-item.php
File size: 645 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace ElementorPro\Modules\ThemeBuilder\AdminMenuItems;

use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item;
use Elementor\TemplateLibrary\Source_Local;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Theme_Builder_Menu_Item implements Admin_Menu_Item {
	public function get_capability() {
		return 'publish_posts';
	}

	public function get_label() {
		return esc_html__( 'Theme Builder', 'elementor-pro' );
	}

	public function get_parent_slug() {
		return Source_Local::ADMIN_MENU_SLUG;
	}

	public function is_visible() {
		return true;
	}

	public function get_position() {
		return null;
	}
}