groups_clear_group_type_cache( int $group_id )

Clear the group type cache for a group.


Description Description

Called when group is deleted.


Top ↑

Parameters Parameters

$group_id

(int) (Required) The group ID.


Source Source

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

function groups_clear_group_type_cache( $group_id = 0 ) {
	wp_cache_delete( $group_id, 'bp_groups_group_type' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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