wp_cache_flush_runtime() WordPress Function

The wp_cache_flush_runtime() function is used to clear the cache of an object that is stored in memory. This function is typically used when an object is updated or deleted.

wp_cache_flush_runtime() #

Removes all cache items from the in-memory runtime cache.


Description

Top ↑

See also


Top ↑

Return

(bool) True on success, false on failure.


Top ↑

Source

File: wp-includes/cache.php

function wp_cache_flush_runtime() {
	return wp_cache_flush();
}


Top ↑

Changelog

Changelog
VersionDescription
6.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.