WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp cache switch to blog

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