Class Transient_Api
Class Transient_WP_Api
Namespace: Varunsridharan\WordPress
Package: Varunsridharan\WordPress
Author: Varun Sridharan varunsridharan23@gmail.com
Since: 1.0
Located at src/Transient_Api.php
Package: Varunsridharan\WordPress
Author: Varun Sridharan varunsridharan23@gmail.com
Since: 1.0
Located at src/Transient_Api.php
public
|
|
protected
boolean|mixed
|
|
public
mixed
|
|
public
string
|
|
protected
string
|
#
validate_length( string $key = '' )
Validates Key Length if key lenght exceeds it will md5 or returns the orginal key |
protected
boolean
|
#
check_length( string $key = '' )
Returns if key is in correct length if Type set to option then it uses $this->option_limit for char limit or uses $this->transient_limit for char limit |
protected
boolean
|
#
wp_add_option( string $key = '', mixed $value = '', string $autoload = 'no' )
Adds Given value to db using add_option |
protected
boolean
|
#
wp_update_option( string $key = '', mixed $value = '', string $autoload = 'no' )
Updates Given value to db using update_option |
protected
boolean
|
|
protected
mixed|
|
|
protected
boolean
|
#
wp_set_transient( $transient, $value, integer $expiration = 0 )
Sets an transient using Transient API In WP |
protected
mixed
|
|
protected
boolean
|
|
protected
string
|
|
protected
boolean|mixed
|
#
validate_version( $value, string $type = '' )
Validates If Saved Version is same as in the class version. |
public static
|
|
public
mixed
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
mixed
|
|
public
boolean|mixed
|
|
public
boolean|mixed
|
|
public
boolean|
|
|
public
boolean
|
|
public
boolean
|
|
protected
boolean
|
protected static
array
|
$_instances
_instances |
#
array()
|
protected
array
|
$options
Stores All Options. |
#
array()
|