refresh_blog_details()WP 3.0.0

Clears the blog details cache.

No Hooks.

Return

null. Nothing (null).

Usage

refresh_blog_details( $blog_id );
$blog_id(int)
Blog ID.
Default: current blog

Changelog

Since 3.0.0 Introduced.

refresh_blog_details() code WP 6.5.2

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