Core Class
View Source on Trac ↗
Core Class
WP_Feed_Cache_Transient
class WP_Feed_Cache_Transient
// Constructor: function Object() { [native code] } Core class used to implement feed cache transients.
Methods 6 methods
| Method / Return | Description |
|---|---|
| __construct() void | Creates a new (transient) cache object.
Parameters: $location: mixed, $name: mixed, $type: mixed |
| save() true | Saves data to the transient.
Parameters: $data: mixed |
| load() array | Retrieves the data saved in the transient. |
| mtime() int | Gets mod transient. |
| touch() bool | Sets mod transient. |
| unlink() true | Deletes transients. |
Properties
| Property / Type | Description |
|---|---|
| $name mixed public | No description available. |
| $mod_name mixed public | No description available. |
| $lifetime mixed public | No description available. |
Class Information
Since Version
2.8.0
Source File
wp-includes/class-wp-feed-cache-transient.php
Advertisement