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. Used byDescriptionwp_cache_switch_to_blog_fallback()wp-includes/ms-blogs.phpFallback logic for switching cache context when an object cache drop-in lacks a switch_to_blog() method. wp_start_object_cache()wp-includes/load.phpStarts the WordPress object cache. 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.