ms_is_switched

Advertisement

Summery Summery

Determines if switch_to_blog() is in effect

Syntax Syntax

ms_is_switched()

Return Return

(bool) True if switched, false otherwise.

Source Source

File: wp-includes/ms-blogs.php

	if ( ! did_action( 'init' ) ) {
		return;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.