403Webshell
Server IP : 162.243.168.218  /  Your IP : 216.73.217.81
Web Server : Apache
System : Linux ISPCONFIG-WEB-EMPRESAS 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64
User : web23 ( 5020)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/clients/client3/web23/web/wp-content/plugins/pro-elements/modules/transitions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client3/web23/web/wp-content/plugins/pro-elements/modules/transitions/module.php
<?php
namespace ElementorPro\Modules\Transitions;

use ElementorPro\Base\Module_Base;
use ElementorPro\License\API;

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

class Module extends Module_Base {

	public function get_name() {
		return 'transitions';
	}

	private function is_transitions_active() {
		return API::is_licence_has_feature( 'transitions' );
	}

	public function __construct() {
		parent::__construct();

		if ( $this->is_transitions_active() ) {
			add_filter(
				'elementor/atomic-widgets/styles/transitions/allowed-properties',
				[ $this, 'extend_allowed_properties' ]
			);
		}
	}

	public function extend_allowed_properties( array $core_properties ): array {
		$pro_properties = [
			'margin',
			'margin-block-end',
			'margin-inline-start',
			'margin-inline-end',
			'margin-block-start',
			'padding',
			'padding-block-end',
			'padding-inline-start',
			'padding-inline-end',
			'padding-block-start',
			'flex',
			'flex-grow',
			'flex-shrink',
			'flex-basis',
			'width',
			'height',
			'max-height',
			'max-width',
			'min-height',
			'min-width',
			'top',
			'left',
			'bottom',
			'right',
			'z-index',
			'color',
			'font-size',
			'line-height',
			'letter-spacing',
			'word-spacing',
			'font-variation-settings',
			'-webkit-text-stroke-color',
			'background-color',
			'background-position',
			'box-shadow',
			'border',
			'border-radius',
			'border-color',
			'border-width',
			'opacity',
			'transform',
			'filter',
		];

		return array_merge( $core_properties, $pro_properties );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit