WP_Object_Cache::__destruct()

Saves the object cache before object is completely destroyed.


Description

Called upon object destruction, which should be when PHP ends.


Return

(true) Always returns true.


Source

File: wp-includes/cache.php

	public function __destruct() {
		return true;
	}

Changelog

Changelog
Version Description
WP-2.0.8 Introduced.