Yoast\WP\SEO\Conditionals

Non_Multisite_Conditional::is_met()publicYoast 1.0

Returns true when we aren't in a multisite setup.

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

Хуков нет.

Возвращает

true|false. true when we aren't in a multisite setup.

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

$Non_Multisite_Conditional = new Non_Multisite_Conditional();
$Non_Multisite_Conditional->is_met();

Код Non_Multisite_Conditional::is_met() Yoast 23.8

public function is_met() {
	return ! \is_multisite();
}