WPSEO_Gutenberg_Compatibility::is_below_minimum()
Determines whether or not the currently installed version of Gutenberg is below the minimum supported version.
Метод класса: WPSEO_Gutenberg_Compatibility{}
Хуков нет.
Возвращает
true|false
. True if the currently installed version is below the minimum supported version. False otherwise.
Использование
$WPSEO_Gutenberg_Compatibility = new WPSEO_Gutenberg_Compatibility(); $WPSEO_Gutenberg_Compatibility->is_below_minimum();
Код WPSEO_Gutenberg_Compatibility::is_below_minimum() WPSEO Gutenberg Compatibility::is below minimum Yoast 22.4
public function is_below_minimum() { return version_compare( $this->current_version, $this->get_minimum_supported_version(), '<' ); }