BP_Groups_Component::setup_cache_groups()

Setup cache groups


Description Description


Source 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();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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