# easy-code-manager/1.2.1/framework/wordpress/currentversion.php

FluentSnippets – High-Performance Code Snippets, Header &amp; Footer Code, Custom CSS &amp; PHP Code Manager, version 1.2.1. 45 lines.

- Page: https://pluginprobe.com/plugins/easy-code-manager/1.2.1/code/framework/wordpress/currentversion.php
- Raw: https://pluginprobe.com/plugins/easy-code-manager/1.2.1/raw/framework/wordpress/currentversion.php
- Modified: 2018-11-20T15:24:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/easy-code-manager/1.2.1/code/framework/wordpress/currentversion.php#L10-L20`.

```php
<?php
/**
* 
*/

/**
* 
*/
class CJT_Framework_Wordpress_Currentversion {
	
	/**
	* put your comment there...
	* 
	* @var mixed
	*/
	protected $version;
	
	/**
	* put your comment there...
	* 
	*/
	public function __construct() {
		// Read current version.
		$this->version = get_bloginfo('version');
	}

	/**
	* put your comment there...
	* 
	*/
	public function getVersion() {
		return $this->version;
	}

	/**
	* put your comment there...
	* 
	* @param mixed $version
	*/
	public function isLess($version) {
		return (version_compare($this->getVersion(), $version) == -1);
	}

} // End class.

```
