wp_cache_flush_group

The timeline below displays how wordpress function wp_cache_flush_group has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 5.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 5.2

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 6.5

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 6.5

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 4.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 4.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 4.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 4.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 4.2

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 4.1

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 6.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 6.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 3.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 3.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 3.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 3.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 3.2

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 3.2

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 3.1

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 6.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 2.5

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 2.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 2.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 2.2

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 2.1

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 2.1

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 6.2

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.6

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.5

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.5

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.4

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.3

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.2

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.2

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 1.1

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 6.1

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}

WordPress Version: 6.1

/**
 * Removes all cache items in a group, if the object cache implementation supports it.
 *
 * Before calling this function, always check for group flushing support using the
 * `wp_cache_supports( 'flush_group' )` function.
 *
 * @since 6.1.0
 *
 * @see WP_Object_Cache::flush_group()
 * @global WP_Object_Cache $wp_object_cache Object cache global instance.
 *
 * @param string $group Name of group to remove from cache.
 * @return bool True if group was flushed, false otherwise.
 */
function wp_cache_flush_group($group)
{
    global $wp_object_cache;
    if (!wp_cache_supports('flush_group')) {
        _doing_it_wrong(__FUNCTION__, __('Your object cache implementation does not support flushing individual groups.'), '6.1.0');
        return false;
    }
    return $wp_object_cache->flush_group($group);
}