WordPress at a glance
function is not described

WP_Object_Cache::__construct() public WP 2.0.8

Sets up object properties; PHP 5 style constructor.

{} It's a method of the class: WP_Object_Cache{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Object_Cache = new WP_Object_Cache();
$WP_Object_Cache->__construct();

Changelog

Since 2.0.8 Introduced.

Code of WP_Object_Cache::__construct() WP 5.7.2

<?php
public function __construct() {
	$this->multisite   = is_multisite();
	$this->blog_prefix = $this->multisite ? get_current_blog_id() . ':' : '';
}