refresh_blog_details( int $blog_id )

In this article

Clears the blog details cache.

Parameters

$blog_idintoptional
Blog ID. Defaults to current blog.

Source

function refresh_blog_details( $blog_id = 0 ) {
	$blog_id = (int) $blog_id;
	if ( ! $blog_id ) {
		$blog_id = get_current_blog_id();
	}

	clean_blog_cache( $blog_id );
}

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

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