Current Path: > home > codekrsu > > cuddlebuds.lk > wp-content > plugins > woocommerce > src > Admin > API > Reports >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Categories | Directory | - | - | |
Coupons | Directory | - | - | |
Customers | Directory | - | - | |
Downloads | Directory | - | - | |
Export | Directory | - | - | |
Import | Directory | - | - | |
Orders | Directory | - | - | |
PerformanceIndicators | Directory | - | - | |
Products | Directory | - | - | |
Revenue | Directory | - | - | |
Stock | Directory | - | - | |
Taxes | Directory | - | - | |
Variations | Directory | - | - | |
Cache.php | File | 1515 bytes | July 06 2022 00:23:10. | |
Controller.php | File | 6793 bytes | November 14 2024 01:17:00. | |
DataStore.php | File | 55975 bytes | August 27 2024 23:04:44. | |
DataStoreInterface.php | File | 401 bytes | April 20 2022 06:50:54. | |
ExportableInterface.php | File | 624 bytes | April 20 2022 06:50:54. | |
ExportableTraits.php | File | 624 bytes | April 20 2022 06:50:54. | |
FilteredGetDataTrait.php | File | 1589 bytes | August 27 2024 23:04:44. | |
GenericController.php | File | 10119 bytes | September 23 2024 20:44:04. | |
GenericQuery.php | File | 2635 bytes | August 27 2024 23:04:44. | |
GenericStatsController.php | File | 8186 bytes | May 12 2025 21:07:28. | |
OrderAwareControllerTrait.php | File | 3825 bytes | May 12 2025 21:07:28. | |
ParameterException.php | File | 326 bytes | April 20 2022 06:50:54. | |
Query.php | File | 1446 bytes | September 23 2024 20:44:04. | |
Segmenter.php | File | 26030 bytes | January 21 2025 18:53:44. | |
SqlQuery.php | File | 5278 bytes | January 25 2023 03:19:12. | |
StatsDataStoreTrait.php | File | 4871 bytes | September 23 2024 20:44:04. | |
TimeInterval.php | File | 24035 bytes | February 27 2024 18:59:46. |
<?php /** * REST API Reports Cache. * * Handles report data object caching. */ namespace Automattic\WooCommerce\Admin\API\Reports; defined( 'ABSPATH' ) || exit; /** * REST API Reports Cache class. */ class Cache { /** * Cache version. Used to invalidate all cached values. */ const VERSION_OPTION = 'woocommerce_reports'; /** * Invalidate cache. */ public static function invalidate() { \WC_Cache_Helper::get_transient_version( self::VERSION_OPTION, true ); } /** * Get cache version number. * * @return string */ public static function get_version() { $version = \WC_Cache_Helper::get_transient_version( self::VERSION_OPTION ); return $version; } /** * Get cached value. * * @param string $key Cache key. * @return mixed */ public static function get( $key ) { $transient_version = self::get_version(); $transient_value = get_transient( $key ); if ( isset( $transient_value['value'], $transient_value['version'] ) && $transient_value['version'] === $transient_version ) { return $transient_value['value']; } return false; } /** * Update cached value. * * @param string $key Cache key. * @param mixed $value New value. * @return bool */ public static function set( $key, $value ) { $transient_version = self::get_version(); $transient_value = array( 'version' => $transient_version, 'value' => $value, ); $result = set_transient( $key, $transient_value, WEEK_IN_SECONDS ); return $result; } }
SILENT KILLER Tool