WPSEO_Gutenberg_Compatibility::is_installed()
Determines whether or not Gutenberg is installed.
Метод класса: WPSEO_Gutenberg_Compatibility{}
Хуков нет.
Возвращает
true|false
. Whether or not Gutenberg is installed.
Использование
$WPSEO_Gutenberg_Compatibility = new WPSEO_Gutenberg_Compatibility(); $WPSEO_Gutenberg_Compatibility->is_installed();
Код WPSEO_Gutenberg_Compatibility::is_installed() WPSEO Gutenberg Compatibility::is installed Yoast 24.0
public function is_installed() { return $this->current_version !== ''; }