bp_groups_clear_group_creator_cache( int $group_id, BP_Groups_Group $group_obj )

Clear caches for the group creator when a group is created.

Parameters Parameters


(int) (Required) ID of the group.


(BP_Groups_Group) (Required) Group object.

Source Source

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

function bp_groups_clear_group_creator_cache( $group_id, $group_obj ) {
	// Clears the 'total groups' for this user.
	groups_clear_group_user_object_cache( $group_obj->id, $group_obj->creator_id );

Top ↑

Changelog Changelog

Version Description
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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