WP_Object_Cache::__construct() In this article Table of ContentsSource Related Changelog ↑ Back to top Sets up object properties. Source public function __construct() { $this->multisite = is_multisite(); $this->blog_prefix = $this->multisite ? get_current_blog_id() . ':' : ''; } View all references View on Trac View on GitHub Related UsesDescriptionis_multisite()wp-includes/load.phpDetermines whether Multisite is enabled. get_current_blog_id()wp-includes/load.phpRetrieves the current site ID. Used byDescriptionwp_cache_init()wp-includes/cache.phpSets up Object Cache Global and assigns it. Changelog VersionDescription2.0.8Introduced. 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.