WP_Object_Cache::flush()

Clears the object cache of all data.


Return Return

(true) Always returns true.


Top ↑

Source Source

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

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

		return true;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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