Definition:
function wp_cache_get( $key, $group = '', $force = false ) {}
Retrieves the cache contents from the cache by key and group.
Parameters
- 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)
Return values
returns:False on failure to retrieve contents or the cache contents on success
Source code
function wp_cache_get( $key, $group = '', $force = false ) { global $wp_object_cache; return $wp_object_cache->get( $key, $group, $force ); }
3447
No comments yet... Be the first to leave a reply!