wp_cache_flush(): bool

Removes all cache items.

Description

See also

Return

bool True on success, false on failure.

Source

function wp_cache_flush() {
	global $wp_object_cache;

	return $wp_object_cache->flush();
}

Changelog

VersionDescription
2.0.0Introduced.

User Contributed Notes

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