* When wp-super-cache is installed this function will clear cached pages
* so that success/error messages are not cached, or time sensitive content.
*
* @package BuddyPress Core
*/
function bp_core_clear_cache() {
global $cache_path, $cache_filename;
if ( function_exists( 'prune_super_cache' ) ) {
do_action( 'bp_core_clear_cache' );
return prune_super_cache( $cache_path, true );
}
}
/**
* Add's 'bp' to global group of network wide cachable objects
*
* @package BuddyPress Core
*/
function bp_core_add_global_group() {