wp_cache_init() In this article Table of ContentsSource Related Changelog ↑ Back to top Sets up Object Cache Global and assigns it. Source function wp_cache_init() { $GLOBALS['wp_object_cache'] = new WP_Object_Cache(); } View all references View on Trac View on GitHub Related UsesDescriptionWP_Object_Cache::__construct()wp-includes/class-wp-object-cache.phpSets up object properties; PHP 5 style constructor. Used byDescriptionwp_start_object_cache()wp-includes/load.phpStarts the WordPress object cache. switch_to_blog()wp-includes/ms-blogs.phpSwitches the current blog. restore_current_blog()wp-includes/ms-blogs.phpRestores the current blog, after calling switch_to_blog() . Changelog VersionDescription2.0.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.