wp_cache_get Wordpress function


Description:

Retrieves the cache contents from the cache by key and group.


Syntax:


Arguments:

(int|string) $key What the contents in the cache are called
(string) $group Where the cache contents are grouped
(bool) $force Whether to force an update of the local cache from the persistent cache (default is false)
(&bool) $found Whether key was found in the cache. Disambiguates a return of false, a storable value.


Return Type:

(bool|mixed) False on failure to retrieve contents or the cache contents on success


Define At:

wp-includes/cache.php


Wordpress Reference URL:

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


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