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/ms is switched

Description

Determines if switch_to_blog() is in effect.

Usage

 <?php ms_is_switched() ?> 

Return Values

(bool) 
True if switched, False otherwise.

Examples

Default Usage

Change Log

Source File

ms_is_switched() is located in wp-includes/ms-blogs.php

Related