WordPress.org

Ready to get started?Download WordPress

Codex

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

Difference between revisions of "Function Reference/ms is switched"

(Include more information about the function)
m (Usage)
Line 3: Line 3:
   
 
== Usage ==
 
== Usage ==
+
<?php ms_is_switched() ?>
%%% <?php ms_is_switched() ?> %%%
 
   
 
== Return Values ==
 
== Return Values ==

Revision as of 07:19, 14 December 2012

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