Files
medicalalert-web-reloaded/wp/wp-content/plugins/gravityforms/includes/transients/class-gf-wp-transient-strategy.php
2024-06-18 17:29:05 -04:00

36 lines
549 B
PHP

<?php
namespace Gravity_Forms\Gravity_Forms\Transients;
class GF_WP_Transient_Strategy implements GF_Transient_Strategy {
/**
* @param $key
*
* @return mixed
*/
public function get( $key ) {
return get_transient( $key );
}
/**
* @param $key
* @param $value
* @param $timeout
*
* @return bool
*/
public function set( $key, $value, $timeout ) {
return set_transient( $key, $value, $timeout );
}
/**
* @param $key
*
* @return bool
*/
public function delete( $key ) {
return delete_transient( $key );
}
}