MailPoet\EmailEditor\Engine

Dependency_Check::is_wp_version_compatible()privateWC 1.0

Checks if the WordPress version is supported.

Method of the class: Dependency_Check{}

No Hooks.

Return

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 9.8.1

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