WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/wp cache switch to blog

Contents

Description

Switch the interal blog id used to create keys in blog specific groups.

Usage

 <?php wp_cache_switch_to_blog$blog_id ?> 

Parameters

$blog_id
(integer) (required) Blog ID.
Default: None

Examples

Default Usage

Change Log

Source File

wp_cache_switch_to_blog() is located in wp-includes/cache.php

Related