%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/www/wp-content/plugins/kata-plus-pro/includes/elementor/modules/weather/ |
Upload File : |
<?php
return;
/**
* Register new elementor widget.
*
* @author ClimaxThemes
* @package Kata Plus Pro
* @since 1.0.0
*/
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use Elementor\Plugin;
class Kata_Plus_Pro_Weather_Widget {
/**
* Constructor.
*
* @since 1.0.0
* @access public
*/
public function __construct() {
$this->actions();
}
/**
* Add Actions.
*
* @since 1.0.0
* @access private
*/
private function actions() {
add_action( 'elementor/widgets/widgets_registered', [ $this, 'on_widgets_registered' ] );
add_action( 'elementor/frontend/after_register_scripts', [ $this, 'scripts' ], 0 );
add_action( 'elementor/frontend/after_enqueue_styles', [ $this, 'frontend_styles' ], 0 );
add_action( 'elementor/preview/enqueue_styles', [ $this, 'preview_styles' ], 0 );
}
/**
* On Widgets Registered
*
* @since 1.0.0
* @access public
*/
public function on_widgets_registered() {
$this->dependencies();
$this->register_widget();
}
/**
* Load dependencies.
*
* @since 1.0.0
*
* @access private
*/
private function dependencies() {
Kata_Plus_Pro_Autoloader::load( dirname( __FILE__ ) . '/template', 'config' );
}
/**
* Register Widget
*
* @since 1.0.0
* @access private
*/
private function register_widget() {
Plugin::instance()->widgets_manager->register_widget_type( new Kata_Plus_Pro_Weather() );
}
/**
* Register scripts.
*
* @since 1.0.0
* @access public
*/
public function scripts() {}
/**
* Register frontend styles.
*
* @since 1.0.0
* @access public
*/
public function frontend_styles() {}
/**
* Enqueue preview styles.
*
* @since 1.0.0
* @access public
*/
public function preview_styles() {}
}
new Kata_Plus_Pro_Weather_Widget();