# elementor/3.34.1/modules/promotions/admin-menu-items/editor-one-custom-elements-menu.php

Elementor Website Builder – more than just a page builder, version 3.34.1. 50 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.34.1/code/modules/promotions/admin-menu-items/editor-one-custom-elements-menu.php
- Raw: https://pluginprobe.com/plugins/elementor/3.34.1/raw/modules/promotions/admin-menu-items/editor-one-custom-elements-menu.php
- Modified: 2025-12-22T12:25:58+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.34.1/code/modules/promotions/admin-menu-items/editor-one-custom-elements-menu.php#L10-L20`.

```php
<?php

namespace Elementor\Modules\Promotions\AdminMenuItems;

use Elementor\Modules\EditorOne\Classes\Menu\Menu_Item_Third_Level_Interface;
use Elementor\Modules\EditorOne\Classes\Menu_Config;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class Editor_One_Custom_Elements_Menu implements Menu_Item_Third_Level_Interface {

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

	public function get_parent_slug() {
		return Menu_Config::ELEMENTOR_MENU_SLUG;
	}

	public function is_visible() {
		return true;
	}

	public function get_label() {
		return esc_html__( 'Custom Elements', 'elementor' );
	}

	public function get_position() {
		return 70;
	}

	public function get_slug() {
		return 'elementor-custom-elements';
	}

	public function get_icon(): string {
		return 'adjustments';
	}

	public function get_group_id() {
		return Menu_Config::CUSTOM_ELEMENTS_GROUP_ID;
	}

	public function has_children(): bool {
		return true;
	}
}

```
