WPSEO_Gutenberg_Compatibility::is_fully_compatible()
Determines whether or not the currently installed version of Gutenberg is the latest, fully compatible version.
Метод класса: WPSEO_Gutenberg_Compatibility{}
Хуков нет.
Возвращает
true|false
. Whether or not the currently installed version is fully compatible.
Использование
$WPSEO_Gutenberg_Compatibility = new WPSEO_Gutenberg_Compatibility(); $WPSEO_Gutenberg_Compatibility->is_fully_compatible();
Код WPSEO_Gutenberg_Compatibility::is_fully_compatible() WPSEO Gutenberg Compatibility::is fully compatible Yoast 24.7
public function is_fully_compatible() { return version_compare( $this->current_version, $this->get_latest_release(), '>=' ); }