[ 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
/
display-conditions
/
conditions
/
base
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 archive-condition-base.php
1,865 B
SET
[ EDIT ]
|
[ DEL ]
📄 condition-base.php
1,053 B
SET
[ EDIT ]
|
[ DEL ]
📄 date-condition-base.php
2,504 B
SET
[ EDIT ]
|
[ DEL ]
📄 title-condition-base.php
1,456 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: condition-base.php
<?php namespace ElementorPro\Modules\DisplayConditions\Conditions\Base; use Elementor\Controls_Stack; use ElementorPro\Core\Isolation\Wordpress_Adapter_Interface; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } abstract class Condition_Base extends Controls_Stack { /** * @var Wordpress_Adapter_Interface */ protected $wordpress_adapter; public function __construct( array $data = [] ) { $this->wordpress_adapter = array_pop( $data ); parent::__construct( $data ); } abstract public function get_label(); abstract public function get_options(); public function get_group() { return 'other'; } public function check( $args ) : bool { return true; } protected function register_controls() { $this->start_controls_section( '__settings' ); $this->get_options(); $this->end_controls_section(); } protected function get_initial_config() { $config = parent::get_initial_config(); $config['label'] = $this->get_label(); $config['group'] = $this->get_group(); return $config; } }