PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /home/telusvwg/techinnovo.co/wp-content/plugins/elementor-pro/modules/variables/ |
| Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 66.29.132.192 |
| Dir : /home/telusvwg/techinnovo.co/wp-content/plugins/elementor-pro/modules/variables/hooks.php |
<?php
namespace ElementorPro\Modules\Variables;
use Elementor\Modules\Variables\Classes\Variable_Types_Registry;
use ElementorPro\Modules\Variables\Classes\Style_Schema;
use ElementorPro\Modules\Variables\PropTypes\Size_Variable_Prop_Type;
use Elementor\Modules\Variables\Transformers\Global_Variable_Transformer;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Hooks {
const PACKAGES = [
'editor-variables-extended',
];
public function register() {
$this->register_styles_transformers()
->register_packages()
->filter_for_style_schema()
->register_size_variable_types();
return $this;
}
private function register_size_variable_types() {
add_action( 'elementor/variables/register', function ( Variable_Types_Registry $registry ) {
$registry->register( Size_Variable_Prop_Type::get_key(), new Size_Variable_Prop_Type() );
} );
return $this;
}
private function register_styles_transformers() {
add_action( 'elementor/atomic-widgets/styles/transformers/register', function ( $registry ) {
$registry->register( Size_Variable_Prop_Type::get_key(), new Global_Variable_Transformer() );
} );
return $this;
}
private function register_packages() {
add_filter( 'elementor-pro/editor/v2/packages', function ( $packages ) {
return array_merge( $packages, self::PACKAGES );
} );
return $this;
}
private function filter_for_style_schema() {
add_filter( 'elementor/atomic-widgets/styles/schema', function ( array $schema ) {
return ( new Style_Schema() )->augment( $schema );
} );
return $this;
}
}