refresh_blog_details()
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() refresh blog details WP 7.0.4
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 );
}