[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
custom-code
/
admin-menu-items
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 custom-code-menu-item.php
881 B
SET
[ EDIT ]
|
[ DEL ]
📄 custom-code-promotion-menu-item.php
2,816 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: custom-code-menu-item.php
<?php namespace ElementorPro\Modules\CustomCode\AdminMenuItems; use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item; use Elementor\Settings; use ElementorPro\Modules\CustomCode\Module as CustomCodeModule; use ElementorPro\License\API; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Custom_Code_Menu_Item implements Admin_Menu_Item { const LICENSE_FEATURE_NAME = 'custom_code'; public function get_capability(): string { return CustomCodeModule::CAPABILITY; } public function get_label(): string { return esc_html__( 'Custom Code', 'elementor-pro' ); } public function get_parent_slug(): string { return Settings::PAGE_ID; } public function get_position(): ?int { return null; } public function is_visible(): bool { return API::is_licence_has_feature( static::LICENSE_FEATURE_NAME, API::BC_VALIDATION_CALLBACK ); } }