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{}
Хуков нет.
Возвращает
true/false. 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() Site Helper::is multisite and switched Yoast 15.6.2
public function is_multisite_and_switched() {
return \is_multisite() && \ms_is_switched();
}