Yoast\WP\SEO\Helpers

Site_Helper::is_multisite_and_switched │ public │ Yoast 1.0

Checks if the current installation is a multisite and there has been a switch between the set multisites.

Метод класса: Site_Helper{}

Хуков нет.

Возвращает

bool. True when there was a switch between the multisites.

Использование

$Site_Helper = new Site_Helper();
$Site_Helper->is_multisite_and_switched();

Код Site_Helper::is_multisite_and_switched() Yoast 28.9

public function is_multisite_and_switched() {
	return \is_multisite() && \ms_is_switched();
}