groups_clear_group_administrator_cache( int $group_id )

Clear group administrator and moderator cache.


Description Description


Parameters Parameters

$group_id

(Required) The group ID.


Top ↑

Source Source

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

function groups_clear_group_administrator_cache( $group_id ) {
	wp_cache_delete( $group_id, 'bp_group_admins' );
	wp_cache_delete( $group_id, 'bp_group_mods' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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