PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/bossthecost.online/wp-content/plugins/elementor/app/modules/import-export/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/bossthecost.online/wp-content/plugins/elementor/app/modules/import-export/usage.php |
<?php namespace Elementor\App\Modules\ImportExport; use Elementor\App\Modules\ImportExport\Processes\Revert; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Usage { /** * Register hooks. * * @return void */ public function register() { add_filter( 'elementor/tracker/send_tracking_data_params', function ( array $params ) { $params['usages']['import_export']['revert'] = $this->get_revert_usage_data(); return $params; } ); } /** * Get the Revert usage data. * * @return array */ private function get_revert_usage_data() { $revert_sessions = ( new Revert() )->get_revert_sessions(); $data = []; foreach ( $revert_sessions as $revert_session ) { $data[] = [ 'kit_name' => $revert_session['kit_name'], 'source' => $revert_session['source'], 'revert_timestamp' => (int) $revert_session['revert_timestamp'], 'total_time' => ( (int) $revert_session['revert_timestamp'] - (int) $revert_session['import_timestamp'] ), ]; } return $data; } }