refresh_blog_details()
Clears the blog details cache.
No Hooks.
Returns
null. Nothing (null).
Usage
refresh_blog_details( $blog_id );
- $blog_id(int)
- Blog ID.
Default:current blog
Changelog
| Since 3.0.0 | Introduced. |
refresh_blog_details() refresh blog details code WP 6.9.1
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 );
}