refresh_blog_details()

最后更新于:2021-11-27 21:09:09

refresh_blog_details( int$blog_id)

Clear the blog details cache.

参数

$blog_id

(int) (Optional) Blog ID. Defaults to current blog.

源文件

文件: gc-includes/ms-blogs.php

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