WPDev.one
Core Function
View Source on Trac ↗

wp_cache_flush_group()

wp_cache_flush_group( mixed $group )

Removes all cache items in a group, if the object cache implementation supports it.

Parameters 1 required

Name / Type Description
$group
string

Name of group to remove from cache.

Required

Return Value

(bool)
True if group was flushed, false otherwise.

Function Information

Since Version
6.1.0
Source File
wp-includes/cache.php
Advertisement