bp_groups_delete_group_cache_on_metadata_change( int $meta_id, int $group_id )

Bust group cache when modifying metadata.


Parameters Parameters

$meta_id

(int) (Required) Meta ID.

$group_id

(int) (Required) Group ID.


Source Source

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

function bp_groups_delete_group_cache_on_metadata_change( $meta_id, $group_id ) {
	wp_cache_delete( $group_id, 'bp_groups' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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