WP_Object_Cache::flush()

Clears the object cache of all data.


Return

(true) Always returns true.


Top ↑

Source

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

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

		return true;
	}


Top ↑

Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes

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