Un motore di ricerca WordPress per sviluppatori e autori di temi



refresh_blog_details ›

Da3.0.0
Deprecaton/a
refresh_blog_details ( $blog_id = 0 )
Parametri:
  • (int) $blog_id Optional. Blog ID. Defaults to current blog.
    Richiesto: No
    Default:
Definito a:
Codex:
ChangeLog:
  • MU

Clear the blog details cache.



Sorgenti

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 );
}