BP_Groups_Component::setup_cache_groups()
Setup cache groups
Description
Source
File: bp-groups/classes/class-bp-groups-component.php
public function setup_cache_groups() {
// Global groups.
wp_cache_add_global_groups( array(
'bp_groups',
'bp_group_admins',
'bp_group_invite_count',
'group_meta',
'bp_groups_memberships',
'bp_groups_memberships_for_user',
) );
parent::setup_cache_groups();
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.2.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.