wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



refresh_blog_details › WordPress Function

Depuis
Dépréciéen/a
refresh_blog_details ( $blog_id = 0 )
Paramètres:
  • (int) $blog_id Optional. Blog ID. Defaults to current blog.
    Requis: Non
    Défaut:
Défini(e) dans:
Codex:
Changelog:
  • MU

Clears the blog details cache.



Source

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