WP_Object_Cache::__construct
Sets up object properties.
Method of the class: WP_Object_Cache{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Object_Cache = new WP_Object_Cache(); $WP_Object_Cache->__construct();
Changelog
| Since 2.0.8 | Introduced. |
WP_Object_Cache::__construct() WP Object Cache:: construct code WP 7.0
public function __construct() {
$this->multisite = is_multisite();
$this->blog_prefix = $this->multisite ? get_current_blog_id() . ':' : '';
}