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"

m (Usage)
(Return Values: Format return)
Line 6: Line 6:
   
 
== Return Values ==
 
== Return Values ==
{{Return||bool|True if switched, False otherwise.}}
+
  +
; (bool) : True if switched, False otherwise.
   
 
== Examples ==
 
== Examples ==

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