WP_Object_Cache::flush

Advertisement

Summery Summery

Clears the object cache of all data.

Syntax Syntax

WP_Object_Cache::flush()

Return Return

(true) Always returns true.

Source Source

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

	public function flush() {
		$this->cache = array();

		return true;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Advertisement

Leave a Reply