/home/techb158/public_html/wp-content/plugins/optinmonster/OMAPI/Integrations
Edit: /home/techb158/public_html/wp-content/plugins/optinmonster/OMAPI/Integrations/Base.php (1818B)
base = OMAPI::get_instance();
static::$instance = $this;
}
/**
* Return the plugin version string.
*
* @since 2.13.0
*
* @return string
*/
abstract public static function version();
/**
* Determines if the passed version string passes the operator compare
* against the currently installed version of plugin.
*
* Defaults to checking if the current plugin version is greater than
* the passed version.
*
* @since 2.13.0
*
* @param string $version The version to check.
* @param string $operator The operator to use for comparison.
*
* @return string
*/
public static function version_compare( $version = '', $operator = '>=' ) {
return version_compare( static::version(), $version, $operator );
}
/**
* Determines if the current WooCommerce version meets the minimum version
* requirement.
*
* @since 2.13.0
*
* @return boolean
*/
public static function is_minimum_version() {
return static::version_compare( static::MINIMUM_VERSION );
}
}