# elementor/3.32.0/app/admin-menu-items/theme-builder-menu-item.php

Elementor Website Builder – more than just a page builder, version 3.32.0. 29 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.32.0/code/app/admin-menu-items/theme-builder-menu-item.php
- Raw: https://pluginprobe.com/plugins/elementor/3.32.0/raw/app/admin-menu-items/theme-builder-menu-item.php
- Modified: 2023-04-23T11:22:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.32.0/code/app/admin-menu-items/theme-builder-menu-item.php#L10-L20`.

```php
<?php
namespace Elementor\App\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 is_visible() {
		return true;
	}

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

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

	public function get_capability() {
		return 'manage_options';
	}
}

```
