bp_core_reset_incrementor( string $group )

Reset a group-specific cache incrementor.

Description Description

Call this function when all incrementor-based caches associated with a given cache group should be invalidated.

Top ↑

Parameters Parameters


(string) (Required) Cache group. Eg 'bp_activity'.

Top ↑

Return Return

(bool) True on success, false on failure.

Source Source

File: bp-core/bp-core-cache.php

function bp_core_reset_incrementor( $group ) {
	return wp_cache_delete( 'incrementor', $group );

Top ↑

Changelog Changelog

Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.