Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_cache_replace()

3 tags 1 category

wp_cache_replace() — Replaces the contents of the cache with new data.

Inputs: $key (int|string): The key for the cache data that should be replaced. $data (mixed): The new data to store in the cache. $group (string): Optional. The group for the cache data that should be replaced. Default empty. $expire (int): Optional. When to expire the cache contents, in seconds. Default 0 (no expiration).

Returns bool: True if contents were replaced, false if original value does not exist.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…