WordPress.org

Codex

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

switch_to_blog(), ms_is_switched(), restore_current_blog(), get_current_blog_id(), wp_get_sites(), get_blog_details()

See also index of Function Reference and index of Template Tags.