ms_is_switched()
Determines if switch_to_blog() is in effect
Description Description
Return Return
(bool) True if switched, false otherwise.
Source Source
File: wp-includes/ms-blogs.php
function ms_is_switched() {
return ! empty( $GLOBALS['_wp_switched_stack'] );
}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |