芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/www/wp-content/plugins/elementor/app/modules/import-export/usage.php
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; } }