BP_Component::setup_cache_groups()
Setup component-specific cache groups.
Description
Source
File: bp-core/classes/class-bp-component.php
public function setup_cache_groups() {
/**
* Fires in the setup_cache_groups method inside BP_Component.
*
* This is a dynamic hook that is based on the component string ID.
*
* @since BuddyPress 2.2.0
*/
do_action( 'bp_' . $this->id . '_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.