WP_Object_Cache::switch_to_blog

SummerySummery

Switches the internal blog ID.

Syntax

WP_Object_Cache::switch_to_blog( int $blog_id )

DescriptionDescription

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

ParametersParameters

$blog_id

(int) (Required) Blog ID.

SourceSource

File: wp-includes/class-wp-object-cache.php


			

ChangelogChangelog

Changelog
Version Description
3.5.0 Introduced.
Scroll to Top