This function has been deprecated. BuddyPress 2.2.0 instead.

bp_blogs_format_clear_blog_cache( BP_Blogs_Blog $recorded_blog_obj )

Clear cache when a new blog is created.

Description

Parameters

$recorded_blog_obj

(Required) The recorded blog, passed by 'bp_blogs_new_blog'.

Source

File: bp-core/deprecated/buddypress/2.2.php

function bp_blogs_format_clear_blog_cache( $recorded_blog_obj ) {
	_deprecated_function( __FUNCTION__, '2.2', 'bp_blogs_clear_blog_object_cache()' );
	bp_blogs_clear_blog_object_cache( false, $recorded_blog_obj->user_id );
}

Changelog

Changelog
Version Description
BuddyPress 2.2.0 BuddyPress 2.2.0
BuddyPress 1.0.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.