Definition:
function wp_cache_init() {}
Source code
function wp_cache_init() {
$GLOBALS['wp_object_cache'] = new WP_Object_Cache();
}
3449
Definition:
function wp_cache_init() {}
function wp_cache_init() {
$GLOBALS['wp_object_cache'] = new WP_Object_Cache();
}
3449
Definition:
function wp_cache_get( $key, $group = '', $force = false ) {}
returns:False on failure to retrieve contents or the cache contents on success
function wp_cache_get( $key, $group = '', $force = false ) {
global $wp_object_cache;
return $wp_object_cache->get( $key, $group, $force );
}
3447
Definition:
function wp_cache_flush() {}
returns:Always returns true
function wp_cache_flush() {
global $wp_object_cache;
return $wp_object_cache->flush();
}
3445
Definition:
function wp_cache_delete($key, $group = '') {}
returns:True on successful removal, false on failure
function wp_cache_delete($key, $group = '') {
global $wp_object_cache;
return $wp_object_cache->delete($key, $group);
}
3443
Definition:
function wp_cache_close() {}
returns:Always returns True
function wp_cache_close() {
return true;
}
3441