WP_Object_Cache::__construct

Advertisement

Summery Summery

Sets up object properties; PHP 5 style constructor.

Syntax Syntax

WP_Object_Cache::__construct()

Source Source

File: wp-includes/class-wp-object-cache.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.8 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?