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