refresh_blog_details() WP 3.0.0
Clear the blog details cache.
No Hooks.
Return
Null. Nothing.
Usage
refresh_blog_details( $blog_id );
- $blog_id(int)
- Blog ID.
Default: current blog
Changelog
Since 3.0.0 | Introduced. |
Code of refresh_blog_details() refresh blog details WP 5.6
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 );
}