Submit
Path:
~
/
home
/
getwphos
/
www
/
BenjaminMarc2023
/
wp-content
/
plugins
/
xt-woo-quick-view-lite
/
xt-framework
/
includes
/
File Content:
class-transient.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'XT_Framework_Transient' ) ) { class XT_Framework_Transient { /** * Transient prefix * * @since 1.0.0 * @access protected * @var string $prefix */ protected $prefix; public function __construct( $prefix = '' ) { $this->prefix = $prefix.'_'; } public function set($key, $val, $expiration = MONTH_IN_SECONDS) { return set_transient( $this->prefix.$key, $val, $expiration ); } public function get($key) { return get_transient( $this->prefix.$key ); } public function delete($key) { return delete_transient( $this->prefix.$key ); } public function exists($key) { return $this->get( $key ) !== false; } public function result($key, callable $callback, $expiration = YEAR_IN_SECONDS) { $cached = $this->get($key); if($cached === false || !empty($_GET['nocache'])) { $cached = $callback(); $this->set($key, $cached, $expiration); } return $cached; } } }
Edit
Rename
Chmod
Delete
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