wp_cache_set Wordpress function


Description:

Saves the data to the cache.


Syntax:


Arguments:

(int|string) $key What to call the contents in the cache
(mixed) $data The contents to store in the cache
(string) $group Where to group the cache contents
(int) $expire When to expire the cache contents


Return Type:

(bool) False on failure, true on success


Define At:

wp-includes/cache.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_cache_set


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×