Sets up Object Cache Global and assigns it.
Source
function wp_cache_init() {
$GLOBALS['wp_object_cache'] = new WP_Object_Cache();
}
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |
CARVIEW |
Sets up Object Cache Global and assigns it.
function wp_cache_init() {
$GLOBALS['wp_object_cache'] = new WP_Object_Cache();
}
Uses | Description |
---|---|
WP_Object_Cache::__construct()wp-includes/class-wp-object-cache.php | Sets up object properties. |
Used by | Description |
---|---|
wp_start_object_cache()wp-includes/load.php | Starts the WordPress object cache. |
switch_to_blog()wp-includes/ms-blogs.php | Switches the current blog. |
restore_current_blog()wp-includes/ms-blogs.php | Restores the current blog, after calling switch_to_blog() . |
Version | Description |
---|---|
2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.