File "template-conditions.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/template-conditions.php
File
size: 491 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
namespace ElementorPro\Modules\ThemeBuilder\Classes;
use Elementor\Controls_Stack;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Template_Conditions extends Controls_Stack {
public function get_name() {
return 'template-conditions';
}
protected function register_controls() {
parent::register_controls();
$this->add_control(
'conditions',
[
'section' => 'settings',
'type' => Conditions_Repeater::CONTROL_TYPE,
]
);
}
}