# elementor/3.35.0-dev1/modules/promotions/admin-menu-items/editor-one-custom-code-menu.php

Elementor Website Builder – more than just a page builder, version 3.35.0-dev1. 32 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.35.0-dev1/code/modules/promotions/admin-menu-items/editor-one-custom-code-menu.php
- Raw: https://pluginprobe.com/plugins/elementor/3.35.0-dev1/raw/modules/promotions/admin-menu-items/editor-one-custom-code-menu.php
- Modified: 2026-01-20T08:22:36+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.35.0-dev1/code/modules/promotions/admin-menu-items/editor-one-custom-code-menu.php#L10-L20`.

```php
<?php

namespace Elementor\Modules\Promotions\AdminMenuItems;

use Elementor\Core\Admin\EditorOneMenu\Interfaces\Menu_Item_Interface;
use Elementor\Modules\EditorOne\Classes\Menu_Config;

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

class Editor_One_Custom_Code_Menu extends Custom_Code_Promotion_Item implements Menu_Item_Interface {
	public function get_position(): int {
		return 40;
	}

	public function get_slug(): string {
		return 'elementor_custom_code';
	}

	public function get_parent_slug(): string {
		return 'elementor_custom_code';
	}

	public function get_label(): string {
		return esc_html__( 'Code', 'elementor' );
	}
	public function get_group_id(): string {
		return Menu_Config::CUSTOM_ELEMENTS_GROUP_ID;
	}
}

```
