On this page
refresh_blog_details( int $blog_id )
Clear the blog details cache.
Parameters
$blog_idint Optional-
Blog ID. Defaults to current blog.
Source
File: wp-includes/ms-blogs.php. View all references
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 );
}
Related
Uses
| Uses | Description |
|---|---|
| clean_blog_cache() wp-includes/ms-site.php | Clean the blog cache |
| get_current_blog_id() wp-includes/load.php | Retrieve the current site ID. |
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/refresh_blog_details