wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_cache_switch_to_blog › WordPress Function

Da3.5.0
Deprecaton/a
wp_cache_switch_to_blog ( $blog_id )
Parametri:
  • (int) $blog_id Site ID.
    Richiesto:
Vedi:
Definito a:
Codex:

Switches the internal blog ID.

This changes the blog id used to create keys in blog specific groups.


Sorgenti

function wp_cache_switch_to_blog( $blog_id ) {
	global $wp_object_cache;

	$wp_object_cache->switch_to_blog( $blog_id );
}