wpseek.com
A WordPress-centric search engine for devs and theme authors



refresh_blog_details › WordPress Function

Since
Deprecatedn/a
refresh_blog_details ( $blog_id = 0 )
Parameters:
  • (int) $blog_id Optional. Blog ID. Defaults to current blog.
    Required: No
    Default:
Defined at:
Codex:
Change Log:
  • MU

Clears the blog details cache.



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