refresh_blog_details

函数


refresh_blog_details ( $blog_id = 0 )
参数
  • (int)
    $blog_id
    Optional. Blog ID. Defaults to current blog.
    Required:
定义位置
  • wp-includes/ms-blogs.php
    , line 282
引入
弃用

清除博客细节缓存。

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