Yoast\WP\SEO\Conditionals

Web_Stories_Conditional::is_met()publicYoast 1.0

Returns true when the Web Stories plugins is installed and active.

{} Это метод класса: Web_Stories_Conditional{}

Хуков нет.

Возвращает

true|false. true when the Web Stories plugins is installed and active.

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

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

Код Web_Stories_Conditional::is_met() Yoast 19.10

public function is_met() {
	return \function_exists( '\Google\Web_Stories\get_plugin_instance' );
}