refresh_blog_details()WP 3.0.0

Clears the blog details cache.

Хуков нет.

Возвращает

null. Ничего (null).

Использование

refresh_blog_details( $blog_id );
$blog_id(int)
Blog ID.
По умолчанию: current blog

Список изменений

С версии 3.0.0 Введена.

Код refresh_blog_details() 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 );
}