wppaste
WordPress

wp_cache_flush_runtime(): bool

Since
6.0.0
Source
wp-includes/cache-compat.php:140
Removes all cache items from the in-memory runtime cache.

Description

Compat function to mimic wp_cache_flush_runtime().

Return

bool
True on success, false on failure.

Uses · 4

Source

	function wp_cache_flush_runtime() {		if ( ! wp_cache_supports( 'flush_runtime' ) ) {			_doing_it_wrong(				__FUNCTION__,				__( 'Your object cache implementation does not support flushing the in-memory runtime cache.' ),				'6.1.0'			); 			return false;		} 		return wp_cache_flush();	}

History

Introduced in 6.0.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.8.8 tag, from src/wp-includes/cache-compat.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.