WP_Object_Cache::__construct()

Sets up object properties; PHP 5 style constructor.


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() . ':' : '';
	}


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.