403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/pia/wp-content/plugins/happy-elementor-addons-pro/extensions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/pia/wp-content/plugins/happy-elementor-addons-pro/extensions/happy-features.php
<?php
namespace Happy_Addons_Pro\Extension\Features;

use Elementor\Controls_Manager;
use Happy_Addons_Pro\Extensions_Manager;

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

class Section {

	public static function init() {
		// Activate sections for widgets
		add_action( 'elementor/element/common/_section_style/after_section_end', [ __CLASS__, 'add_controls_sections' ], 1, 2 );
		// Activate column for sections
		add_action( 'elementor/element/column/section_advanced/after_section_end', [ __CLASS__, 'add_controls_sections' ], 1, 2 );
		// Activate sections for sections
		add_action( 'elementor/element/section/section_advanced/after_section_end', [ __CLASS__, 'add_controls_sections' ], 1, 2 );

		add_action( 'elementor/element/container/section_layout/after_section_end', [ __CLASS__, 'add_controls_sections' ], 1, 2 );

		if ( hapro_is_display_condition_enabled() ) {
			Extensions_Manager::load_display_condition();
		}
	}

	public static function add_controls_sections( $element, $args ) {
		$element->start_controls_section(
			'_section_happy_pro_features',
			[
				'label' => __( 'Happy Features', 'happy-addons-pro' ) . ha_get_section_icon(),
				'tab' => Controls_Manager::TAB_ADVANCED,
			]
		);

		if ( hapro_is_display_condition_enabled() ) {
			\Happy_Addons_Pro\Extension\Conditions\Display_Conditions::instance()->add_controls( $element , $args );
		}

		$element->end_controls_section();
	}
}

Section::init();

Youez - 2016 - github.com/yon3zu
LinuXploit