Submit
Path:
~
/
home
/
getwphos
/
www
/
BenjaminMarc2023
/
wp-content
/
plugins
/
xt-woo-quick-view-lite
/
xt-framework
/
includes
/
File Content:
class-cache.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'XT_Framework_Cache' ) ) { class XT_Framework_Cache { /** * Cache group * * @since 1.0.0 * @access protected * @var string $cache_group */ protected $cache_group; public function __construct( $cache_group = '' ) { $this->cache_group = $cache_group; } public function set($key, $val, $expire = 0) { return wp_cache_set($key, $val, $this->cache_group, $expire); } public function get($key) { return wp_cache_get( $key, $this->cache_group ); } public function delete($key) { return wp_cache_delete( $key, $this->cache_group ); } public function exists($key) { return $this->get( $key ) !== false; } public function flush() { return wp_cache_flush(); } public function result($key, callable $callback, $expiration = 0) { $cached = $this->get($key); if($cached === false || !empty($_GET['nocache'])) { $cached = $callback(); $this->set($key, $cached, $expiration); } return $cached; } } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
admin-tabs
---
0755
customizer
---
0755
freemius
---
0755
modules
---
0755
notices
---
0755
settings
---
0755
class-admin-messages.php
3381 bytes
0644
class-ajax.php
5633 bytes
0644
class-base-hooks.php
2951 bytes
0644
class-cache.php
1312 bytes
0644
class-conflicts-check.php
2031 bytes
0644
class-dependencies-check.php
3390 bytes
0644
class-framework.php
65633 bytes
0644
class-i18n.php
1029 bytes
0644
class-loader.php
9504 bytes
0644
class-migration.php
3214 bytes
0644
class-parsedown.php
30394 bytes
0644
class-plugin.php
2436 bytes
0644
class-recommended-plugins.php
16977 bytes
0644
class-review-notice.php
9508 bytes
0644
class-system-status.php
58083 bytes
0644
class-transient.php
1245 bytes
0644
class-wc-ajax.php
2831 bytes
0644
class-woocommerce.php
3105 bytes
0644
functions-essential.php
16803 bytes
0644
functions-formatting.php
12064 bytes
0644
functions-helpers.php
6448 bytes
0644
functions-metabox.php
13670 bytes
0644
functions-wp-filters.php
787 bytes
0644
functions-wp.php
3127 bytes
0644
N4ST4R_ID | Naxtarrr