Automattic\WooCommerce\EmailEditor\Engine

Dependency_Check::is_wp_version_compatibleprivateWC 1.0

Checks if the WordPress version is supported.

Method of the class: Dependency_Check{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->is_wp_version_compatible(): bool;

Dependency_Check::is_wp_version_compatible() code WC 10.5.0

private function is_wp_version_compatible(): bool {
	return version_compare( get_bloginfo( 'version' ), self::MIN_WP_VERSION, '>=' );
}